{"$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":"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":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"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":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02: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":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"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":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"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":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"handleApi (cyclomatic 765): handleApi has cyclomatic complexity 765 (threshold 15). Of this number, 719 points are the body\u0027s own statements and 46 belong to 61 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e595a2e942a664b6fc77586d2553741f0574795f525d72eb9e01d5e0fd23640a"}},{"ruleId":"D1","level":"warning","message":{"text":"saveLaunchPresetNow (cyclomatic 159): saveLaunchPresetNow has cyclomatic complexity 159 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 35 belong to 13 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"452f104d230737a656379fc50221e80267af9b29d18f2132c0430437f56898b1"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.apply (cyclomatic 157): factory.apply has cyclomatic complexity 157 (threshold 15). Most of this is not in the body itself: 1 of the 157 points is its own statement and the rest belongs to 116 function items inside it that branch (renameSession, buildSessionItems, buildMenu, \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":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed89aec689806c4a0707d4f4674569f7c01317fc8c009e7dbbc7f0a70aa6bbe2"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 141): main has cyclomatic complexity 141 (threshold 15). Of this number, 122 points are the body\u0027s own statements and 19 belong to 33 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-probe.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dace54d413598b6e46ba33f8a4b6ed32daafeb94a2aec9732ba8ef8b4728f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintLaunchHome (cyclomatic 137): index.html.paintLaunchHome has cyclomatic complexity 137 (threshold 15). Most of this is not in the body itself: 10 of the 137 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 8971, 9043, 9042, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8966}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5d160d3aa9586d941de5cb50b2740be59b906ea8791607ce0fca6af644465a"}},{"ruleId":"D1","level":"warning","message":{"text":"model.parseTabAction (cyclomatic 97): model.parseTabAction has cyclomatic complexity 97 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7dbfaca2e9af3438ebbeef3b1a14c1793368cc708e1909ce4bdd45bac1257d"}},{"ruleId":"D1","level":"warning","message":{"text":"server.saveManagerSettings (cyclomatic 95): server.saveManagerSettings has cyclomatic complexity 95 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f1b4559aa25682996fa1d7cb65890389f01c98ac9e44ae76c5debefb823fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"buildRepairPresentation (cyclomatic 89): buildRepairPresentation has cyclomatic complexity 89 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 16 belong to 28 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efd412a260d1c2425c322fc0a52d39baf541820257f7b4a3d7a86142f6935a8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.applyState (cyclomatic 78): index.html.applyState has cyclomatic complexity 78 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5740e1ee68c1ce175d1d5ae28355c8d647101ca1ddf8394be12df991345b6520"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime-diagnostics.readRuntimeEvidence (cyclomatic 78): runtime-diagnostics.readRuntimeEvidence has cyclomatic complexity 78 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 17 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"8558ae853861e3c9b9f015244b6cd70b1280cb1684f6a2d929fbd9d8bae6450c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.flushSettings (cyclomatic 75): index.html.flushSettings has cyclomatic complexity 75 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11523}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e5494ddeca5f402be1de43f9c923220acf23b7397881c59a97243aa343407e"}},{"ruleId":"D1","level":"warning","message":{"text":"renameProfile (cyclomatic 71): renameProfile has cyclomatic complexity 71 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 54 belong to 20 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8697}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb37c3c2fef60ff4271c27b2311ce18ca3724fd051c6179350a872a1e28b4d70"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.executeCommand (cyclomatic 71): factory.executeCommand has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e74dd27e36adad867782d6465edae3f8826d2f8251073063a47715c15badc8"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.SyncPanel (cyclomatic 71): factory.SyncPanel has cyclomatic complexity 71 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 35 belong to 27 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76fa5c208bfc6408a26031a99dd80ed667291eb1a60aa46b7fd036e0509c07"}},{"ruleId":"D1","level":"warning","message":{"text":"internal-tabs.updateInternalTabs (cyclomatic 69): internal-tabs.updateInternalTabs has cyclomatic complexity 69 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b199340e3b85d0654bb3ea96da6067067ff1eae28e7a06139143674008fbbadb"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.fillSettings (cyclomatic 68): index.html.fillSettings has cyclomatic complexity 68 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11371}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb73e7625b022db9352fcc0adf3c841ab2063c733cc90b97e45865297e90e3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintRemoteSettings (cyclomatic 66): index.html.paintRemoteSettings has cyclomatic complexity 66 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 40 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8d274f148c6bdb856d67e8895b730847e6d4466c9fb6e1ab531735de6d6e1d"}},{"ruleId":"D1","level":"warning","message":{"text":"cancelTabDrag::updateInternalTabs (cyclomatic 65): cancelTabDrag::updateInternalTabs has cyclomatic complexity 65 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7892b43abb4ea7febc84787b4223a12a5513ee707212031d9d30a605c86fe4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.prepareGuidedLaunch (cyclomatic 64): index.html.prepareGuidedLaunch has cyclomatic complexity 64 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8028}}}],"partialFingerprints":{"codehealthFindingId/v1":"784701522dded146198da4ca4dee10d68724019a3a91c23ba39fa7e8a341607c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.listenEvents (cyclomatic 61): index.html.listenEvents has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 1 of the 61 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 10316, 10370, 10267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10254}}}],"partialFingerprints":{"codehealthFindingId/v1":"9368cc9cc928b68767e24b0609d723da557abacbe3bb873e3ef9b4be8ec90a82"}},{"ruleId":"D1","level":"warning","message":{"text":"safeLaunchPresets (cyclomatic 60): safeLaunchPresets has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 5 of the 60 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 818, 894, 897). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9d18a3679c172c00bb7b256c3d7d3655ffc7814882dcd0026b215284a9654f"}},{"ruleId":"D1","level":"warning","message":{"text":"apply (cyclomatic 60): apply has cyclomatic complexity 60 (threshold 15). Most of this is not in the body itself: 2 of the 60 points are its own statements and the rest belongs to 36 function items inside it that branch ((anonymous)::text, storeForPanel, handler, \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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7134a325581c1f0de4b3238487dcfa0b232a45dcdb0ed39a62fc39e0d7330c4"}},{"ruleId":"D1","level":"warning","message":{"text":"launch-list.sortable (cyclomatic 59): launch-list.sortable has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 1 of the 59 points is its own statement and the rest belongs to 17 function items inside it that branch (a function literal at line 118, a function literal at line 152, a function literal at line 104, \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":"src/public/launch-list.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed859173fc96fc810b9d55892eac3f980ea13d440849ff7d3aa5bc35ee9e4f"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticRepairs.rollback (cyclomatic 59): DiagnosticRepairs.rollback has cyclomatic complexity 59 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 34 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0d577059ebde46db3ca51168d9394eafbe9e6ac652d6ac6d501078034ae3a1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintGuideTarget (cyclomatic 57): index.html.paintGuideTarget has cyclomatic complexity 57 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6698}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d7eab2d51eb27b64a6b06a4eed01ff9287dfc5bddfb0cac89943a2e92d2167"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.MemoryPanel (cyclomatic 55): factory.MemoryPanel has cyclomatic complexity 55 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 36 belong to 30 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973375d86c1c487a98c70aca36fd68c8df9f642ff726f131adf6c23cf9f97ec"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticRepairs.execute (cyclomatic 54): DiagnosticRepairs.execute has cyclomatic complexity 54 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 38 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a140970c0c1d9e133df4cd583cbeddd49ff7c68cce5dcf6a4c99328be90e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"snapshot (cyclomatic 54): snapshot has cyclomatic complexity 54 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 29 belong to 17 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"193095b475b483cc951592740087dba8880e6969dd81250e87e3b8c326e3034f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderPackView (cyclomatic 53): index.html.renderPackView has cyclomatic complexity 53 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 22 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12696}}}],"partialFingerprints":{"codehealthFindingId/v1":"31605f6225c40fd07a41e887981adaecb65a8bc51fcc494bd6c0e936898fe216"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.prepareGuidedLaunchRemote (cyclomatic 52): index.html.prepareGuidedLaunchRemote has cyclomatic complexity 52 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7947}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78f1dc1d9a9092acac26bcf7b6f3911735cec3cb0a37dec3e359f61b2d328f8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.render (cyclomatic 51): index.html.render has cyclomatic complexity 51 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9860}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f7c51ce34e924e4ff4dab68feff92cfc8b1d5876d1d22ae61af8029c269149"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderRepairActionGroups (cyclomatic 50): index.html.renderRepairActionGroups has cyclomatic complexity 50 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b0dd551244577dbde138ceb78f54155e5af3c7fb5992c949a4bd384c7509a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintVersionManager (cyclomatic 48): index.html.paintVersionManager has cyclomatic complexity 48 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc8ae3fe9b632cb4ab8142a4c8156f087d32de447d4f603c3603e6ddf139242"}},{"ruleId":"D1","level":"warning","message":{"text":"startServer::handler (cyclomatic 46): startServer::handler has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11660}}}],"partialFingerprints":{"codehealthFindingId/v1":"5393a3de8e14db2bd86f7b920e298d5a6548f8a22c413a37df0ebef440e837eb"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.buildContext (cyclomatic 44): selfcheck.buildContext has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b68d944b74fa432bfe997ec2a5ca19ffb8312871378b259ddc75489c716f836"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderPackInspect (cyclomatic 44): index.html.renderPackInspect has cyclomatic complexity 44 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12987}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac4ff4d69a0a2e86fcb7aaf4e8184e137b2417e8d988dd366cc17e29d61bad7"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticRepairs.inspect (cyclomatic 44): DiagnosticRepairs.inspect has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 12 of the 44 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 199, 228, 243, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fe1e17086d4cc6f333a1feaa4a04afd714deb2e8a2ed233db12c7d42afd9b4"}},{"ruleId":"D1","level":"warning","message":{"text":"runConnectionPrepare (cyclomatic 44): runConnectionPrepare has cyclomatic complexity 44 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 3 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95c41d08b9e8f94a7b2b86ec663788fb928cce30da72a4a19d44eb5f2133bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"buildConfig (cyclomatic 44): buildConfig has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0fdc49b3e9a8315a83843f58f43dfd2b8cd9d2948fb0590b27ee5371f886c2"}},{"ruleId":"D1","level":"warning","message":{"text":"parseActivation (cyclomatic 43): parseActivation has cyclomatic complexity 43 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 3 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bcb43f9809c2319b457f8c14f3b9eec1d35cf8bd5fdbb77d442b826752ccdb"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.validateSettings (cyclomatic 42): selfcheck.validateSettings has cyclomatic complexity 42 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c36d47effc3fa9c834089e7a59bac4ca04877b63620bb9a57403887e05e85b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.showRepairHistory (cyclomatic 42): index.html.showRepairHistory has cyclomatic complexity 42 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec44813a1d9a484393d25b36f7b4a4d705159b57e4f5a1eadaa6aa4fe03bc04a"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.pageSnapshot (cyclomatic 41): factory.pageSnapshot has cyclomatic complexity 41 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57cba97cfd63094eeb99b35dfc2a95ec33e55334858b85e771d40fb1fd1fd68"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintPickerHomes (cyclomatic 40): index.html.paintPickerHomes has cyclomatic complexity 40 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 15 belong to 3 function items inside it that branch. 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":"src/public/index.html"},"region":{"startLine":7173}}}],"partialFingerprints":{"codehealthFindingId/v1":"b888bc462c63d0f0ad5127557c9b016ffb0a80b7eaa97d31976671394f6aa9d8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderLaunchReport (cyclomatic 40): index.html.renderLaunchReport has cyclomatic complexity 40 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 24 belong to 13 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8480}}}],"partialFingerprints":{"codehealthFindingId/v1":"960ed5e10f1218aabae144a26bdd9e92c21f14cf4d7242f2a5dda4a531e08768"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.launchFormEl.onsubmit (cyclomatic 40): index.html.launchFormEl.onsubmit has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9765}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2a1f5e55f32c4180344f4bf89156f0596d49486d2adb4604e8ba0291f2d108"}},{"ruleId":"D1","level":"warning","message":{"text":"createTools (cyclomatic 40): createTools has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 2 of the 40 points are its own statements and the rest belongs to 23 function items inside it that branch (a function literal at line 209, a function literal at line 245, a function literal at line 282, \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":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8191bbaf3b5589b2490a85f31472c3d6ddd7748be2d25a50a7d37a5249032f"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.runSync (cyclomatic 39): sync.runSync has cyclomatic complexity 39 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a9b46082602cd70414b13bf3e7d8572ee1d30d911cda7eaac693b13729767a"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.runSync (cyclomatic 39): sync.runSync has cyclomatic complexity 39 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"4916272ac25fe174df9100ab1df57100c76a2ecaf9eb75ed188bb6b725628d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderConnectionProgress (cyclomatic 39): index.html.renderConnectionProgress has cyclomatic complexity 39 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5595}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cc28ae6fe2d6a777f9fe4f31bcbfdd4902a18b0f8d96e63c5627de6378d9e4"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkInstances (cyclomatic 38): selfcheck.checkInstances has cyclomatic complexity 38 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f813d716d2c22273c207e5d7a7be0dab1a5b176fd31edfd92b009909b119d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"DiagnosticRepairs.preview (cyclomatic 37): DiagnosticRepairs.preview has cyclomatic complexity 37 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4fc100039f3df23aca3aa09b4a793839bfb97663d1ac7c075b7b29a2691ef8"}},{"ruleId":"D1","level":"warning","message":{"text":"server.startRemoteViaCore (cyclomatic 36): server.startRemoteViaCore has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a4459e6529ab04bf42ed97c7ad2f9fec3ba0aee57dae961bc5e43017f6e7f0"}},{"ruleId":"D1","level":"warning","message":{"text":"bootWslOnce (cyclomatic 36): bootWslOnce has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7899}}}],"partialFingerprints":{"codehealthFindingId/v1":"227c5a86a18ba7021f65242b311822fef3bad53549fd6b2ac3ea390d2c1773ec"}},{"ruleId":"D1","level":"warning","message":{"text":"saveSettingsNow (cyclomatic 36): saveSettingsNow has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e147110a9aa50e8425c3b8fdd6102e49cc5b5ee970c089cee675a6f70929759"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkData (cyclomatic 35): selfcheck.checkData has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c609004d5963480bfb89a1a7bd4d48ff5a3b68201e8b280366d75ca2e660b8e8"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.showAsk (cyclomatic 35): index.html.showAsk has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10853}}}],"partialFingerprints":{"codehealthFindingId/v1":"5778af5845e846729a36a08ead46a6bfd089727a5bf8782d43075c160abd5560"}},{"ruleId":"D1","level":"warning","message":{"text":"mascot.tick (cyclomatic 35): mascot.tick has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"49040fb99fd3cb619a746c25b6a47ef962608ad311ec589f485da5a8b96a9f58"}},{"ruleId":"D1","level":"warning","message":{"text":"startup-diagnosis.createStartupDiagnosis.report (cyclomatic 35): startup-diagnosis.createStartupDiagnosis.report has cyclomatic complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02074ed09a0bcc6bdc334badeac6d5dad99bff8d7e286657055ada62c452d73"}},{"ruleId":"D1","level":"warning","message":{"text":"configuration-evidence.declaredService (cyclomatic 34): configuration-evidence.declaredService has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09de1c3330f0a66ea752db5d333675c54a98614293537568581ef30a32076b7"}},{"ruleId":"D1","level":"warning","message":{"text":"startTabDrag (cyclomatic 34): startTabDrag has cyclomatic complexity 34 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 17 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"00667b0c75f10efd95a4c1ebdbe432cae926e22c0e582b3b7e95d5f88d90d33b"}},{"ruleId":"D1","level":"warning","message":{"text":"mascot-part.startMascot::tick (cyclomatic 33): mascot-part.startMascot::tick has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee0ef30f3d3a3c18cfead6d096fa0dbafaabb4d52b402a185e6dc82be8b1df"}},{"ruleId":"D1","level":"warning","message":{"text":"index.validate (cyclomatic 33): index.validate has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d61cca54afa732b5d1459dfdb47baecb1320499615f840a268327973688f8c"}},{"ruleId":"D1","level":"warning","message":{"text":"packs.parseManifest (cyclomatic 33): packs.parseManifest has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b909cae52a59387ef8d2f88a9f493fabec8b7c484587972b9d15a9c44ea1e59"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkPlugins (cyclomatic 33): selfcheck.checkPlugins has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2c280eda829e48eb026d2353f92ffe26e791420ea520b2d508de6e1fa200c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.showRepairCards (cyclomatic 33): index.html.showRepairCards has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4097}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad47f72205916268430d0f148155ccb266ec63b9dd491601ce5789140f0149d4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.handlePrepareUpdate (cyclomatic 33): index.html.handlePrepareUpdate has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5694}}}],"partialFingerprints":{"codehealthFindingId/v1":"286bdf95f921bc61280666764ad0f421da980b3940b54c6fdcf82eb4200b9f74"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.selectPickerHome (cyclomatic 33): index.html.selectPickerHome has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7462}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd950b34ea7f0229c0d4f7efd3612d7a1efb7c270f06155aef16283b6bf6f7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"server.stop (cyclomatic 33): server.stop has cyclomatic complexity 33 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9203}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde343d7307dea53ff33c00c438c45503b032d08cdf0af8408afa252c35c6c49"}},{"ruleId":"D1","level":"warning","message":{"text":"saveConnectionFromBody (cyclomatic 33): saveConnectionFromBody has cyclomatic complexity 33 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb80c6113bdd1ba125c9c23363b1c1e8202cc5ca2cdf7f34e3107f87dc2ba3c7"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.recommendedVersion (cyclomatic 32): index.html.recommendedVersion has cyclomatic complexity 32 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8849}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d7d0a3ad2f32e416f7198d0a61cd8aaa3fd1458aae21061e4a46d45fa0a5c9"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-dependencies.dependencyRemovalScope (cyclomatic 32): repair-dependencies.dependencyRemovalScope has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc33abcf6d4c88aaa72821a449344d6e5b9c1dcb92493deedb24381ae4b6ecc"}},{"ruleId":"D1","level":"warning","message":{"text":"createStartupDiagnosis::report (cyclomatic 32): createStartupDiagnosis::report has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed0bb5558f271acabeb9dc0de90de1b911cae8a9da278f6c4d0d2647b4e79e"}},{"ruleId":"D1","level":"warning","message":{"text":"optional-analytics-proof.optionalAnalyticsProof (cyclomatic 31): optional-analytics-proof.optionalAnalyticsProof has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 14 of the 31 points are its own statements and the rest belongs to 2 function items inside it that branch (addFile, visit). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/optional-analytics-proof.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f65b0f7a5c4a154139d5f94c47915f2d066296d06b0b34a59fe81112683692"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openProfileDialog (cyclomatic 31): index.html.openProfileDialog has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12310}}}],"partialFingerprints":{"codehealthFindingId/v1":"776996400087de0b676f7f920501fabdc7e034609ed5bd5c9c9d4f297e21ec59"}},{"ruleId":"D1","level":"warning","message":{"text":"bootOnce (cyclomatic 31): bootOnce has cyclomatic complexity 31 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7773}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce5247c39640064f94979f86cb7ea6aa44ea2b8346e59fc481ecb9344bbf636"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.safeConnection (cyclomatic 30): settings.safeConnection has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"14873063508287e12fbea4d6b3fea477d57a05afca794561362ebb404885f8ec"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintPickerProfiles (cyclomatic 30): index.html.paintPickerProfiles has cyclomatic complexity 30 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 13 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7322}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efeefb6a3467c8036b31cffd1f53ca5360916ce54105b5f4e399a725506e9f6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openLaunchEditor (cyclomatic 30): index.html.openLaunchEditor has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9659}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825876a34da38e48d152ef51c4f1c8a6a8ac5b13fb510ad561ea871447af5c6"}},{"ruleId":"D1","level":"warning","message":{"text":"wsl.inspectWslDistro (cyclomatic 30): wsl.inspectWslDistro has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c599884887f54b1e004fe2caa46ecf692079ab692f37123aa46b93f467fed111"}},{"ruleId":"D1","level":"warning","message":{"text":"server.trayAction (cyclomatic 30): server.trayAction has cyclomatic complexity 30 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27625684bee19f65e1304b4c3ec64a68cd272333201c1ba977ff32639105ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"startServer (cyclomatic 30): startServer has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11599}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d1a919d923791f9ad8140fc1a3d8722f7a15f7f0ced00211978c42256edfb4"}},{"ruleId":"D1","level":"warning","message":{"text":"start (cyclomatic 30): start has cyclomatic complexity 30 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 6 belong to 25 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e6263dfd5f3ce7873da47a8229a29f2db32355ef78953846a229be7f345c41"}},{"ruleId":"D1","level":"warning","message":{"text":"classify (cyclomatic 30): classify has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a9084b71ab14c55f97dcf83fad813824b564e58d0c7592d31a11eeaab2fae3"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-plan.profileFingerprint (cyclomatic 29): repair-plan.profileFingerprint has cyclomatic complexity 29 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. 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":"src/repair-plan.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397608c87e3f9b94603dd57023978777c89042e7593585a604fa7f194b85c04"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeDiagnostics.earlyImportSnapshot (cyclomatic 29): RuntimeDiagnostics.earlyImportSnapshot has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9854f3b9e8f1e4bb9755e8a96f2bb4116e635abea05f63e919e0e3d207f62e88"}},{"ruleId":"D1","level":"warning","message":{"text":"server.exportEnvironmentNow (cyclomatic 29): server.exportEnvironmentNow has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0d8384d821debae35975326bfbcd11f3cc832d833172e0d74745e0abe4ee41"}},{"ruleId":"D1","level":"warning","message":{"text":"server.createProfile (cyclomatic 29): server.createProfile has cyclomatic complexity 29 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 14 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8871}}}],"partialFingerprints":{"codehealthFindingId/v1":"a955fde7be71691db9d60d328c345e606df6febefeea982074c02b20b2a97b18"}},{"ruleId":"D1","level":"warning","message":{"text":"megabytes::exportEnvironmentNow (cyclomatic 29): megabytes::exportEnvironmentNow has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1f99fd3f4d77f5f2ec9b6a2a15cfb8482e42906383e0d0df068bc8279c64ad"}},{"ruleId":"D1","level":"warning","message":{"text":"bind (cyclomatic 29): bind has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 12 function items inside it that branch (a function literal at line 85, a function literal at line 124, a function literal at line 111, \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":"shell/browser-guests.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f976f46cc59a234e9c592cf4d617eebb3380f6d27efdc9b851fa73a78cf304c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.handleTabMessage (cyclomatic 28): main.handleTabMessage has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a77afeab82da5acfaa3c1b612676c5ada919e695691658103d5c2b3f8b5b9e"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkEnvironment (cyclomatic 28): selfcheck.checkEnvironment has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"578a7266c5033fb424ac623fd91f3e45bc7e2cc3025462ace7eaba6a5f58c20e"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkManager (cyclomatic 28): selfcheck.checkManager has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe15e2bee2a72ea62295cb3cd0ed08b61e45882af4d211239986b1a8197711d"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkSkills (cyclomatic 28): selfcheck.checkSkills has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"329bb4f11493df591c94c4bab8bfdd2190b40ad3a87c984fb68670cbe825f832"}},{"ruleId":"D1","level":"warning","message":{"text":"instance-link.createInstanceLink.server (cyclomatic 28): instance-link.createInstanceLink.server has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 65, 86, 102). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/instance-link.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec2e4d7cc463f142c519754db98a0a9632ca1aba1d0d42e7af2001eef0ef774"}},{"ruleId":"D1","level":"warning","message":{"text":"attachProcess (cyclomatic 28): attachProcess has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 10 function items inside it that branch (onLine, a function literal at line 7506, a function literal at line 7571, \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":"src/server.js"},"region":{"startLine":7478}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d5933c68a646bcbcc3f17b14445cc1e08d5d03c89ce9578f20e647deed0cad"}},{"ruleId":"D1","level":"warning","message":{"text":"migrateLegacyWslPresets (cyclomatic 28): migrateLegacyWslPresets has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 532, a function literal at line 543, uniqueName, \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":"src/settings.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"24242d285727067b25d08a824c2b4e99bb68266111a10b5595bd36a11466001a"}},{"ruleId":"D1","level":"warning","message":{"text":"execute::(anonymous)::(anonymous)::mutate (cyclomatic 28): execute::(anonymous)::(anonymous)::mutate has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5246cc4a891a5e323183c78b5bd9f7d7a743734c37e03813b84b206bf04da339"}},{"ruleId":"D1","level":"warning","message":{"text":"probeStdio (cyclomatic 28): probeStdio has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8287b407a0b73f4831c515c54a01140354a232bf99bc18a6dc5e3e85e4f2ee68"}},{"ruleId":"D1","level":"warning","message":{"text":"apply (cyclomatic 28): apply has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 2 of the 28 points are its own statements and the rest belongs to 19 function items inside it that branch (runJob, handler, handler, \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":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1b26945917724f3e170fcc18875d83c7279595f89200fdd36345271a51002e"}},{"ruleId":"D1","level":"warning","message":{"text":"update (cyclomatic 28): update has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"72146f705d1a11e7f0c3f6dc10d342fe63e199c095841a5144b56fd124bc4831"}},{"ruleId":"D1","level":"warning","message":{"text":"configurationSources (cyclomatic 28): configurationSources has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"774d3bc903bbf4fff2e35770aed73c14c0a90b994f61cb82b3400d92351ddff9"}},{"ruleId":"D1","level":"warning","message":{"text":"apply (cyclomatic 28): apply has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 121, a function literal at line 154, send, \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":"plugins/dsh-x-desktop-notify/lib/index.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d64bb128a4ea991b1c21b90206677afed1b81549543ea29ea10ee8875e08b57"}},{"ruleId":"D1","level":"warning","message":{"text":"createInstanceLink (cyclomatic 28): createInstanceLink has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 1 of the 28 points is its own statement and the rest belongs to 9 function items inside it that branch (a function literal at line 65, (anonymous)::(anonymous)::adopt, a function literal at line 102, \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":"src/instance-link.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc81c3402296adb8db02740473c5ff7bcbb9a96f7f0d808433a77f8383b6295a"}},{"ruleId":"D1","level":"warning","message":{"text":"core-fetch.compareVersions (cyclomatic 27): core-fetch.compareVersions has cyclomatic complexity 27 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a100a0fc932a535ce1f37877f94ab940ae77880a6e061bb1c9a841f7e0b7f9"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.parseArgs (cyclomatic 27): selfcheck.parseArgs has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e179fd5cf35a3b3f3dd80f7a9945f149825257d7427717e326e276655264fd7"}},{"ruleId":"D1","level":"warning","message":{"text":"proxy.requestOnce (cyclomatic 27): proxy.requestOnce has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 375, 341, 362, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b3ae4f55ddea8128f98b8b2e445d19e1bf58509d45e3558576657b404d049b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintLaunchProfiles (cyclomatic 27): index.html.paintLaunchProfiles has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4941}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae5a9b6509c88f83f4cba760bfe921a6eab1c1d66fefb5d0b2998370d7ec6ec"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.setLaunchBackend (cyclomatic 27): index.html.setLaunchBackend has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5186}}}],"partialFingerprints":{"codehealthFindingId/v1":"15128d1f6a4d9ee679578fcb2d5b852230cad4fafb195d50b1d9204e9769356c"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeDiagnostics.unloadedImplementation (cyclomatic 27): RuntimeDiagnostics.unloadedImplementation has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ab91094d381fdc26d52fe78094c43baba55b7d9431cb27e4194b608870a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeDiagnostics.declarationEvidence (cyclomatic 27): RuntimeDiagnostics.declarationEvidence has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"518dc93aabc30bbf2cbf12009feec40d4f8a751e484406b4c4d879408ac406e0"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.prepareSkillImport (cyclomatic 27): skills.prepareSkillImport has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"5737dafa85a6968a5a8dbd028b5ef401d67428e3e5f01526f74d0f87c33bbd53"}},{"ruleId":"D1","level":"warning","message":{"text":"runPluginCommand (cyclomatic 27): runPluginCommand has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 6315, (anonymous)::keepLine, a function literal at line 6343, \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":"src/server.js"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f229b51d7c20ea395938b9ff013472b638ad2e2f943c9adcd2b281738790f84"}},{"ruleId":"D1","level":"warning","message":{"text":"connectionDraftFromBody (cyclomatic 27): connectionDraftFromBody has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9901}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9224e457960ec3e5c91b06c9412e4747361e0f41b3f441c9ecff0acb671ffe8"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop.dialogOptions (cyclomatic 26): desktop.dialogOptions has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/desktop.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c109ff84f15948f299f566907b563faa3140bed3d68bb22192cb267dfb7e44f"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkNetworkConfig (cyclomatic 26): selfcheck.checkNetworkConfig has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcabecc6695434a278c228a3ed57c26f2ddced265fdb6252366815626fb6952"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.showPane (cyclomatic 26): index.html.showPane has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e648eeb2d3707a59ee769efe86914406bcff6c7f9399881b7345dccb069cff1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.runningInfo (cyclomatic 26): index.html.runningInfo has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fab5838f518fb6d4a5e03128f22b093c8a4a250ceda65a46732a52170e7fcf2"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.document.getElementById(\u0027profileForm\u0027).onsubmit (cyclomatic 26): index.html.document.getElementById(\u0027profileForm\u0027).onsubmit has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2365ad2d2a433b49dcc22e8116af83ed40dd43af0ee3f3d8a00114a990c5f0"}},{"ruleId":"D1","level":"warning","message":{"text":"scanNodeModules (cyclomatic 26): scanNodeModules has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 25 function items inside it that branch (virtual, addGraph, manifestOf, \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":"src/server.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"c128802bc929d4c49dbf20ee69f67b43af475fba6507453ca14cb6f48b2e8fc1"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.confirmationText (cyclomatic 25): index.html.confirmationText has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"8423bbdbcac9b5958deb81b2aae9598cc2b4b4622e47faa327fac1f47bf62698"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.compareVersion (cyclomatic 25): index.html.compareVersion has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (comparePre, split). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8111}}}],"partialFingerprints":{"codehealthFindingId/v1":"b249f8da48a325952d4480f3bfdbd8ff090b3218f5428d361343f3f445f05ca8"}},{"ruleId":"D1","level":"warning","message":{"text":"server.normalizeMarketEntry (cyclomatic 25): server.normalizeMarketEntry has cyclomatic complexity 25 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"082fb350015163855bfe8201455e979cc701a8d828c53bc9a1d1526f356982df"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.installViewport (cyclomatic 25): factory.installViewport has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 14 function items inside it that branch (applyFrame, syncViewportBar, ensureViewportBar, \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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fc8f04f4a3b2a6a979b76d8b1210d92877e8f652fdeee509383d10bdfa8d61"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.apply::loop (cyclomatic 25): factory.apply::loop has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0b7adcf8be55bdd35464cd1d3c647937dad3a2b005abb8cfce7758ac000047"}},{"ruleId":"D1","level":"warning","message":{"text":"expandComparator (cyclomatic 25): expandComparator has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/version.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9fa5a90a1fcadd6e9046e4dd08f49f666c5b75584e4fa57ddd409e77712498"}},{"ruleId":"D1","level":"warning","message":{"text":"zip.readZip (cyclomatic 24): zip.readZip has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zip.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"18598d6f10ddc48395a4d174807c05b51a666e5995dd3928c70c12ebb2edf387"}},{"ruleId":"D1","level":"warning","message":{"text":"packs.applyInstall (cyclomatic 24): packs.applyInstall has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2637120d4d9b0cdc04630e09e356ae2c6a114d899a0b053bd73cc86d488e3fb"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkHome (cyclomatic 24): selfcheck.checkHome has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"741766deaf8e2bcbb49fbc0ab8f287490c5a0852768732b52867c42b300c5c4c"}},{"ruleId":"D1","level":"warning","message":{"text":"settings.migrateLegacyWslPresets.presets (cyclomatic 24): settings.migrateLegacyWslPresets.presets has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08543eda5d48473deca5d413355bd2ac1562bfe9df4c727cc2cb22a020aa0c0"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.applySelfUpdate (cyclomatic 24): index.html.applySelfUpdate has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e06fa7d4b2ba81af2e90d30f9a266063e9015eb9b24338beb541bdf233111dc"}},{"ruleId":"D1","level":"warning","message":{"text":"applyLaunchEnvironment (cyclomatic 24): applyLaunchEnvironment has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 7 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e440cc5f2df70085426d0d35e253115d785c5a4833fed656ca1f4fdfa079327b"}},{"ruleId":"D1","level":"warning","message":{"text":"stopTabDrag (cyclomatic 24): stopTabDrag has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4054db0a51dbaf5643b0ff2a2c55cf92df97b0fbf2f400a9d86b2caca6a86bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"mergeManifests (cyclomatic 24): mergeManifests has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"552816a75ad56eff061c78d44b9d73467fb29d00a5c3d328cd059a3ab72ac1c5"}},{"ruleId":"D1","level":"warning","message":{"text":"mergeManifests (cyclomatic 24): mergeManifests has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"7059b9322d8d55fde5424d9c237a4b7583bf55475749f1507f8f06501ee8281a"}},{"ruleId":"D1","level":"warning","message":{"text":"writeZip (cyclomatic 24): writeZip has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"045e450bdeff06181ca5b91f4c3637b72cbeb6bf73d06df1ff4280755c4d2a23"}},{"ruleId":"D1","level":"warning","message":{"text":"writeZip (cyclomatic 24): writeZip has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec550a806e86b75a01da5388b84ca7259a49ad5a4a4055b5dcb8841317b26b4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.apply::captureGuest (cyclomatic 23): index.apply::captureGuest has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"179058a9629f0b202deb1970ff64da025ddbe69d396359bed7a3b0d750eaebcd"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.removePickerProfile (cyclomatic 23): index.html.removePickerProfile has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7794}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7abf3eb2e75e5e660766d599e8e8a8fae2bcf41d580275ea30a406e7172dfa"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-evidence.recordedChanges (cyclomatic 23): repair-evidence.recordedChanges has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d154e58bc338e50e85a211b08ecb0cd8216577824ea004e1bef6f0711103cea"}},{"ruleId":"D1","level":"warning","message":{"text":"server.addPlugin (cyclomatic 23): server.addPlugin has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca49209abbaf8dab17c2a7a2dbb5ba41668989fa1c84e73ce1a6bc3d198f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"setInstancePortNow (cyclomatic 23): setInstancePortNow has cyclomatic complexity 23 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 6 belong to 10 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e91cb745e5732036426639f7349ef3fcbf5453ff2f884f0ae6383f73875069"}},{"ruleId":"D1","level":"warning","message":{"text":"safeS3Config (cyclomatic 23): safeS3Config has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3272e75e37d3b70b266a123b9140c63e92f5975d8a3edbe9531948c0e8b18f2f"}},{"ruleId":"D1","level":"warning","message":{"text":"safeS3Config (cyclomatic 23): safeS3Config has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3015a950bccba50721fb24df3150a5c35e09bd4990eae74ff050e58ee690b7"}},{"ruleId":"D1","level":"warning","message":{"text":"probeHttp (cyclomatic 23): probeHttp has cyclomatic complexity 23 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"8338b305036d23fdc3fce084166feac5a68515b1ee17cf8304f2ba872d007375"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.renderDiagnosis (cyclomatic 22): index.html.renderDiagnosis has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84d0fcf075d3cea4c68072c22d65ba6e2b6abbfca2f280ec8eaf1a65a2aca74"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintProjectDevices (cyclomatic 22): index.html.paintProjectDevices has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19e68cf1e5bdaf2ea9bf57454206eea58de500430f294d61906ff0d21d5f4e4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintPickerDetails (cyclomatic 22): index.html.paintPickerDetails has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7403}}}],"partialFingerprints":{"codehealthFindingId/v1":"626fdfcb8b47d25f9113bc8ad36f26e0ae89ee1d4f8a04e9a1caa56e806553aa"}},{"ruleId":"D1","level":"warning","message":{"text":"internal-tabs.document.addEventListener(\u0022keydown\u0022) (cyclomatic 22): internal-tabs.document.addEventListener(\u0022keydown\u0022) has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"2171a9f68a39f88d086cfb2cd67e1c53fa9a920eac154489412bb5055199f4be"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-dependencies.dependencyRemovalScope.reachable (cyclomatic 22): repair-dependencies.dependencyRemovalScope.reachable has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"6633615645bcbdb76069920eb47d24e4495580cc32b03ec59af369e6cc2e1808"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.parseSkillGithub (cyclomatic 22): skills.parseSkillGithub has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c469080498cc1606e677f70f2b670eea91f0681432458d878ebd90fd5386d91"}},{"ruleId":"D1","level":"warning","message":{"text":"server.presetScope (cyclomatic 22): server.presetScope has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"968292ce2751ca60f3f96f85d16e47fc70a6c0cfdc4e44c85f85939c698c1872"}},{"ruleId":"D1","level":"warning","message":{"text":"server.autoDisableFailedPlugins (cyclomatic 22): server.autoDisableFailedPlugins has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8456}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8a090243fc45c9542cd40cd8f1193f30f352d5d10590abee56e028ef744339"}},{"ruleId":"D1","level":"warning","message":{"text":"flushCoreSetupPaint (cyclomatic 22): flushCoreSetupPaint has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9140ef0449d62e3a6ec4a35895c2e4066dadef2a25f89b7d0aed11cf79cfd1"}},{"ruleId":"D1","level":"warning","message":{"text":"action (cyclomatic 22): action has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tabs.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d86877a0453e3d5b4257cb71713381dcf4044c0014eefb76af0c087b4d466c"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.checkNetworkProbe (cyclomatic 21): selfcheck.checkNetworkProbe has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"5588d5ae0c9506b317810a0956b17e05c5d069589a3769334231e349c080855d"}},{"ruleId":"D1","level":"warning","message":{"text":"diagnostic-repair.packageFingerprint::visit (cyclomatic 21): diagnostic-repair.packageFingerprint::visit has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/diagnostic-repair.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0748fdde4c0a6bb0f988b77cc30f0bf6895858c99d826ed0d93b6e177c50cf6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.createUiSelect (cyclomatic 21): index.html.createUiSelect has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function items inside it that branch (a function literal at line 3316, label, a function literal at line 3315). 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":"src/public/index.html"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"5799f2d9a1bf250edd0e7900aa1b674ffa8976a08bfb3ed141ba6f2a4480f92a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.executeRepair (cyclomatic 21): index.html.executeRepair has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7af5a8458503f49ff35469341554e5004c12b65a98ab5232470165696f8f99"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.refreshLaunchHomeProfiles (cyclomatic 21): index.html.refreshLaunchHomeProfiles has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f065de51cce85156654b552dc45acb69d7dbe41b0f6f5c2a6a8cd627888d0a5"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openProfilePicker (cyclomatic 21): index.html.openProfilePicker has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7539}}}],"partialFingerprints":{"codehealthFindingId/v1":"47723d181fb10062775c8508f18ee9f5364e07f21ca5548828ae13b3ab6aeb4b"}},{"ruleId":"D1","level":"warning","message":{"text":"internal-tabs.finishDrag (cyclomatic 21): internal-tabs.finishDrag has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9348fc1cdf4bc5e6aa3929d8622459a1fba8704605103319c7d78325ba2e2d8b"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-dependencies.installedPackageState (cyclomatic 21): repair-dependencies.installedPackageState has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (scan, read). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e715fc2b2110cd15284d5401539820e5601503f6f4c35bf346c894d81e49f731"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeDiagnostics.beforeUnload (cyclomatic 21): RuntimeDiagnostics.beforeUnload has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e17da7840761d1ee788f1bf4e0d21f680d18fba1a314d1bfca0cf27485486e"}},{"ruleId":"D1","level":"warning","message":{"text":"slice-layer-sheet.main (cyclomatic 21): slice-layer-sheet.main has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/mascot-design/slice-layer-sheet.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1c30201d2544a9ee6ca96c4a975ebc352d284127ae4ac2c96043fe94fa6b40"}},{"ruleId":"D1","level":"warning","message":{"text":"openExternal (cyclomatic 21): openExternal has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7462d7f9114f11ec111ec0e84f63bc0a3a90d7e815a93aafa286c82ea3960fe"}},{"ruleId":"D1","level":"warning","message":{"text":"mergeProfileManifest (cyclomatic 21): mergeProfileManifest has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43dc22d085856f25cea211049cbde9791e7e60b2ebd9365339123b4320a525d"}},{"ruleId":"D1","level":"warning","message":{"text":"mergeProfileManifest (cyclomatic 21): mergeProfileManifest has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ffeee154e0918b65aa707f2cf99ba991d5cac2d0644505e573da41cb3b7440"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.revealFrame (cyclomatic 21): factory.revealFrame has cyclomatic complexity 21 (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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"35155bff1246d3cc8766e8090f9374903251ba44eff800f2e2e96bd799adad44"}},{"ruleId":"D1","level":"warning","message":{"text":"tabDropTarget (cyclomatic 21): tabDropTarget has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c037b2d18f95e80028821ee4821fbfb6215b40fb6ba9f23af40354eed54577d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.refreshWslProfiles (cyclomatic 20): index.html.refreshWslProfiles has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5095}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c92ebfacc15d67d617fd98bd9a107c13a6ad64a7f5a0f005dc0f8afa6b499a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.refreshLaunchLog (cyclomatic 20): index.html.refreshLaunchLog has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8673}}}],"partialFingerprints":{"codehealthFindingId/v1":"42114458ee34a103bff0f595189eb0e261d501e7e7f9e14d4633af49bf1426a7"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.checkVersions (cyclomatic 20): index.html.checkVersions has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bda43d00615854c08baab4f72963d3bd46ba7569f466aeba5d2492449895006"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.skillRow (cyclomatic 20): index.html.skillRow has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":13702}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd05bf9fae758663f435749a93ba552a1e4d09a5edb002be05ada9966ba6a08d"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.previewSkillFiles (cyclomatic 20): skills.previewSkillFiles has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d92e38c4cb7609ec5f5b89930b0023ab3983a273f644af1af459ff50cef2e1"}},{"ruleId":"D1","level":"warning","message":{"text":"server.trayLaunches (cyclomatic 20): server.trayLaunches has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2472, 2455, 2459, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5090ad02841f668178ceb90a20dca9dc7f906170fa0361d6e91d2d4ebee89a1"}},{"ruleId":"D1","level":"warning","message":{"text":"server.removeLaunchPresetNow (cyclomatic 20): server.removeLaunchPresetNow has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23ffee024b0c4ca4ca2d79572815103455417492a5a2a0c7891bfb2d9c58f33"}},{"ruleId":"D1","level":"warning","message":{"text":"server.refreshShortcuts (cyclomatic 20): server.refreshShortcuts has cyclomatic complexity 20 (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":"src/server.js"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9744adff8780285770afac768bd14b1fdafc2e9fa91293fbbf88f19b824b03"}},{"ruleId":"D1","level":"warning","message":{"text":"startWithRepair (cyclomatic 20): startWithRepair has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca69b81b717d74c8ee3ffedd40591c33da96ab014e38106a49c2c612a549cd06"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.formatSnapshot (cyclomatic 20): factory.formatSnapshot has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4775c0383ca3acdc4e5382e7e8c84efba941f505d790eeb2e59d76d1b8aae5"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.pickElement (cyclomatic 20): factory.pickElement has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0650815ffd6c1897363c4a0e0fab455772ac72fd03605f0d61c4171d2740a4d7"}},{"ruleId":"D1","level":"warning","message":{"text":"listMcpServers (cyclomatic 20): listMcpServers 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 one function literal inside it that branches (line 270). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ddef997e23a11be1c145457edf4db4a3ed16b2160ff12e98722dd0d2dfb229"}},{"ruleId":"D1","level":"warning","message":{"text":"parseMemory (cyclomatic 20): parseMemory has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3de4f3fcdc2d2352ab6d02e40ef744c8b24e045eae35d288a729c41b57e763"}},{"ruleId":"D1","level":"warning","message":{"text":"createSshBackend.connect (cyclomatic 20): createSshBackend.connect has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 4 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 59, (anonymous)::(anonymous)::finish, (anonymous)::(anonymous)::hostVerifier, \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":"src/ssh.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0beda10a828263112c1481daaa667c74369817a29974aebc9dcdc35cbceca1"}},{"ruleId":"D1","level":"warning","message":{"text":"detach (cyclomatic 20): detach has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"92954f45e360700e06406ba63e3e2bea33e7769a0df5696a0770fbb7031e547c"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.listMcpServers.servers (cyclomatic 19): mcp.listMcpServers.servers has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47c0751e6c256fec571bbbc67f73a9334f902e81e5e4f0d77ef1b839d6aa823"}},{"ruleId":"D1","level":"warning","message":{"text":"booting.html.render (cyclomatic 19): booting.html.render has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/booting.html"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bc1a41bb9fe44682a911c53c2ef06dd3e70796759e8b8dabc36ff9943cd932"}},{"ruleId":"D1","level":"warning","message":{"text":"registry.installSpec (cyclomatic 19): registry.installSpec has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 526, 498). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3429c7323c5b65d05c9773e52e9cc21fdf119daf57a2b227d6ea297fd7a55fe3"}},{"ruleId":"D1","level":"warning","message":{"text":"repair-dependencies.dependencyOrigins (cyclomatic 19): repair-dependencies.dependencyOrigins has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"358b79db399a28b1091209ff4c34f7bf5641bc4b5df78b4b0af654cd88f5f6c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ssh-core.ensureRemoteNode (cyclomatic 19): ssh-core.ensureRemoteNode has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60b2ae1df5dbb7bfebe856e6e0ff3db7c5d810749cc8706f6a2d5e70c0cbfb8"}},{"ruleId":"D1","level":"warning","message":{"text":"server.openPackSource (cyclomatic 19): server.openPackSource has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9860f9b4f3932740ad858ebc6c758a4a27747e1a0ab369c425a3f1a136cd27d2"}},{"ruleId":"D1","level":"warning","message":{"text":"factory.pagePress (cyclomatic 19): factory.pagePress has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1e17fab7bd484acb62c6d862dc113b682f8613c8c58741b60cda328b8840ac"}},{"ruleId":"D1","level":"warning","message":{"text":"readWslProfile (cyclomatic 19): readWslProfile has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb4d58673ac98dee9cb82674a4ce3ae2a9ecf81b2ee4ef20ded6e2dac86cbbe"}},{"ruleId":"D1","level":"warning","message":{"text":"restoreProfileBackup (cyclomatic 19): restoreProfileBackup has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 198, 209). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recovery.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebcad63c0878c3ae56ad9742e87b2920c27ead7e55d318b31401ab377b467d6"}},{"ruleId":"D1","level":"warning","message":{"text":"mascot.tick (cyclomatic 18): mascot.tick has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/mascot.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ad52c154d2946eb8365d542bcf367290db9e0451d1443047315fe1c5764cff"}},{"ruleId":"D1","level":"warning","message":{"text":"selfcheck.analyzeLogs (cyclomatic 18): selfcheck.analyzeLogs has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"028dc0c68745daa97d66815bd08ea47ad627f3e3bfda9fab496434ff6782f6b8"}},{"ruleId":"D1","level":"warning","message":{"text":"environments-page.updateReportHtml (cyclomatic 18): environments-page.updateReportHtml has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"src/public/environments-page.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f1829b4b32bea7e419cfbb0f45a10fefc4f5263654d62ecea08c3d39dcb022"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.transitionDialog (cyclomatic 18): index.html.transitionDialog has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d2cb8c9a9a4cf5c662d91039e96751cc9f276032e3943b507cf3b53d089b2f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.diagnosisIssueRows (cyclomatic 18): index.html.diagnosisIssueRows has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8418}}}],"partialFingerprints":{"codehealthFindingId/v1":"511cdc0fbce55a596412ea13175fd8de9e90d6bf49725dec740ea84fa91444b6"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.updateToLatest (cyclomatic 18): index.html.updateToLatest has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10018}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16761d3d51b7a566497401c048e8a736a8edb33972957eedfb4a22114ab5218"}},{"ruleId":"D1","level":"warning","message":{"text":"server.findSystemNode (cyclomatic 18): server.findSystemNode has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4885}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d3478362e2f33436d59984deb1c3a3bab01202dbee8b886e1c7e5cdf68944a"}},{"ruleId":"D1","level":"warning","message":{"text":"server.releaseFeed (cyclomatic 18): server.releaseFeed has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6fd8fe0318ab313bea6ba7198c6dd53fa7870aa7f75ebdef4669024d9c93be"}},{"ruleId":"D1","level":"warning","message":{"text":"server.describeFetchError (cyclomatic 18): server.describeFetchError has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6978}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c2d439bf888d9a8d8d91ebe70e617e3603162ee9dc93c78f671a02715c8f6d"}},{"ruleId":"D1","level":"warning","message":{"text":"instanceInfo (cyclomatic 18): instanceInfo has cyclomatic complexity 18 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e752feb63a7123b92477d2a0f0f0af9732828d5f2e42cc7f27f4f1d57e14e4e"}},{"ruleId":"D1","level":"warning","message":{"text":"runSyncJob (cyclomatic 18): runSyncJob has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec804313bfaa19f6e987ed6d8f8a872ae53b641b013a4ef5a17a7d368a694c9"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveWslAutoVersion (cyclomatic 18): resolveWslAutoVersion has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 8216, 8219, 8220, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8211}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b8ac13996d8ddef5bb45b012d65c10287dbcf840cde6bf1b44e8ccb693ea9c"}},{"ruleId":"D1","level":"warning","message":{"text":"createWslBackend.resolveIdentity (cyclomatic 18): createWslBackend.resolveIdentity has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 342, 369). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9389d7e9ae043e5522a65025e483cb667e1732dad3d43f76f1e6767fc8c3313"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveCommandPath (cyclomatic 18): resolveCommandPath has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"706769aa20e02cab67cc34f04763bb2d8c1826a43738d427fe1ee8092c787a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"dependencyRemovalScope::reachable (cyclomatic 18): dependencyRemovalScope::reachable has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3277b5b452c0374dd9fbf7db028a5d3cabab0678ab66b2bffadd514a275682"}},{"ruleId":"D1","level":"warning","message":{"text":"parseDialog (cyclomatic 18): parseDialog has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/desktop.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"592729a7ae4dd3dc4eb9032f2e9020a71806e019fdd004b93dc5bafe22f5e14c"}},{"ruleId":"D1","level":"warning","message":{"text":"readRemoteProfile (cyclomatic 18): readRemoteProfile has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-profile.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e852efa8522e32c08930daf07b475149dca351845835f1daef05bcab8fa04f4"}},{"ruleId":"D1","level":"warning","message":{"text":"zipfile.readZipIndex (cyclomatic 17): zipfile.readZipIndex has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e898b6e8f79026147c2f872a8d59c1b52fd01f9e2ed27058a72b7084071a5a7c"}},{"ruleId":"D1","level":"warning","message":{"text":"zipfile.readZipIndex (cyclomatic 17): zipfile.readZipIndex has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d1b4a0866faad961d29df19d27c30f978c89082c15d018daaa36b2cb2aa7a3"}},{"ruleId":"D1","level":"warning","message":{"text":"InstanceViews.transferView (cyclomatic 17): InstanceViews.transferView has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/instance-views.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcbcb0e19ea434a055bc04f9a435d4c197d8e90cfc9fceb1ec9a8fe0cc4c467"}},{"ruleId":"D1","level":"warning","message":{"text":"main.installPermissionHandlers (cyclomatic 17): main.installPermissionHandlers has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 1534). 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":"shell/main.mjs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1bf8b96fad5639b0469610c6a59be9c49eb1a32177ec3e444d8368eba6c9ea"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.linkPresets (cyclomatic 17): environments.linkPresets has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 716, a function literal at line 712, a function literal at line 709, \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":"src/environments.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39626f91bb662cce8585340c9e1445a8cd45ce074d4c0282201fbfd6b1c1eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"ManagerAuth.isAuthenticated (cyclomatic 17): ManagerAuth.isAuthenticated has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/manager-auth.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac03fff959d9881b13ee54210a01a83ae84773fc3d895bca1ea2ff2f2ff0b6a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.recordedChangeText (cyclomatic 17): index.html.recordedChangeText has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1a1f1c20b8fc7e8517b5843a5b17425ccfcacd48d0efb3c3ac3ebee0675276"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openConnectionDialog (cyclomatic 17): index.html.openConnectionDialog has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5516}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ae72b46bda0ec79d1f5dcf4cb4b4b264e237cfeeabfd25f9b52f6f6b270d50"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.syncGuideWslFields (cyclomatic 17): index.html.syncGuideWslFields has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1552c8bc2c3fa26ec41f80631e0c77e1628f9ca1e1fbd1c8f43a1dd757efaf"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintLaunchHint (cyclomatic 17): index.html.paintLaunchHint has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6924}}}],"partialFingerprints":{"codehealthFindingId/v1":"65682140044919d4858e395b44d3182f8351ea755762a8c423066d2ab4553963"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintSelfPill (cyclomatic 17): index.html.paintSelfPill has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a2fac958462c41626e916aaa1b144c01ef09dd595ed82f0501a660c8fe98f4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.showNodeRuntimeSettings (cyclomatic 17): index.html.showNodeRuntimeSettings has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11253}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab92284c01128b9b8d951e48f38002b069b5fca4fcf629c3d22b72f06dd96fa"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.pluginRowHtml (cyclomatic 17): index.html.pluginRowHtml has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e869920b0243eb354188e12bc4e09c28bd9db8cd5835807b861c9873a99c542a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.restartEnvironment (cyclomatic 17): index.html.restartEnvironment has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12095}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54fe5da9cb0df998fd09ed625bc2a753a3e47b9cf776e57870a0a09b9dbe5ea"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.hidePackDialog (cyclomatic 17): index.html.hidePackDialog has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12846}}}],"partialFingerprints":{"codehealthFindingId/v1":"428fe6ca7caf915a6cc0deb1dc6f9be48af5490edca1df9640edd14f9bbe7d0a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.mcpRow (cyclomatic 17): index.html.mcpRow has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":13313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9630b05d189e03100ce3c5a50cc340d18ccb91232110b1e93297b72453e32af"}},{"ruleId":"D1","level":"warning","message":{"text":"internal-tabs.arrange (cyclomatic 17): internal-tabs.arrange has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd1fe926c8ad5ad380770699ccbc1daf4c5399a0d733f37950e6c5f18176361"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.createSkill (cyclomatic 17): skills.createSkill has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0a1ec51f21d5709d00c119ef0bc6374cff0fd9e8b5cc5b477694fccdddd2dd"}},{"ruleId":"D1","level":"warning","message":{"text":"SshRemoteCore.streamLogs (cyclomatic 17): SshRemoteCore.streamLogs has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 374, 349, 364). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df2f4c7c2a03ed26c9586937fc3915cd8d779d4136f3f43d3a3831f80d01e8"}},{"ruleId":"D1","level":"warning","message":{"text":"ssh-config.parseConfigFile (cyclomatic 17): ssh-config.parseConfigFile has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4eddd5dc3b132afc56dad98a91d4df377d0829d2783099274b31990aa91886c"}},{"ruleId":"D1","level":"warning","message":{"text":"server.attributePlugins (cyclomatic 17): server.attributePlugins has cyclomatic complexity 17 (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":"src/server.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa8044da0a40487fd726c2100c6fed4adb2a89ac111ab2faf50e6e17e7c694f"}},{"ruleId":"D1","level":"warning","message":{"text":"server.instanceTargetFromUrl (cyclomatic 17): server.instanceTargetFromUrl has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9104}}}],"partialFingerprints":{"codehealthFindingId/v1":"355181234fb6a8cf45ef58b9479d085d1efa4e51a62e32d71bda60b63a351647"}},{"ruleId":"D1","level":"warning","message":{"text":"parseScutilProxy (cyclomatic 17): parseScutilProxy has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf284e393ab43107d2791b910e5402d9a7d9c16a776470a7077e8e6eb8ebe3c"}},{"ruleId":"D1","level":"warning","message":{"text":"core-fetch.pickCoreRelease (cyclomatic 16): core-fetch.pickCoreRelease has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 165, ceilingOf). 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":"shell/core-fetch.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c1ef22fbb10d96e000bb808751fc1c612a70a8fb5830113e57729cbf61d237"}},{"ruleId":"D1","level":"warning","message":{"text":"updater.createUpdater (cyclomatic 16): updater.createUpdater has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/updater.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca5dffb8b9f027213a3208a48e659edc4c74fa56c6778eadc896104372b1c0d"}},{"ruleId":"D1","level":"warning","message":{"text":"apply-update.main (cyclomatic 16): apply-update.main has cyclomatic complexity 16 (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":"src/apply-update.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca43c60e988ed56616eb7475e178703edd287587f935487e70bbdb9e0a793dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"environment-pack.tarballFiles (cyclomatic 16): environment-pack.tarballFiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f63da5bddd1718da0caf14ac736ce575cc9b5072c339923f7711a7bb2aab4a"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.parseMcpCommand (cyclomatic 16): mcp.parseMcpCommand has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39f69bd5ed51fb18dbcc70853339d84988f9fa87afdf7226c18ca4548f60055"}},{"ruleId":"D1","level":"warning","message":{"text":"environments-page.renderView (cyclomatic 16): environments-page.renderView has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f466809908e8262d1b891889503dd5b896c5646a247c426314a11cfa8c7133"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.diagnosisText (cyclomatic 16): index.html.diagnosisText has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f2a310ad82cb3e19262450d042c2385d202214b1862e5fe62d2165adbe8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintSshImportList (cyclomatic 16): index.html.paintSshImportList has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5430}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eb35755faeb7c3e54a4d2d90838ecd2fd90441054ed54da8f546d80d009931"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.paintLaunchEnvTrigger (cyclomatic 16): index.html.paintLaunchEnvTrigger has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c489e3b8491f3048648838d1ba8e7eb09c4a4753644f74f6a5371c5c898845c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.openLaunchLog (cyclomatic 16): index.html.openLaunchLog has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8722}}}],"partialFingerprints":{"codehealthFindingId/v1":"4471f178b25fed312f04653827e6f701a46fd020b2becaed80d7f21c4551b77d"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.homeOptions (cyclomatic 16): index.html.homeOptions has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11048}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63b5cf181d6166b0421d2d00cb8ce26bad24799aeaf11aab7b457a5ded32d70"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.describeProxy (cyclomatic 16): index.html.describeProxy has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b86523fde12b057c73f9d0834bd104bba3c4c28d98d3765d73a3586a77c0f93"}},{"ruleId":"D1","level":"warning","message":{"text":"index.html.saveMcp (cyclomatic 16): index.html.saveMcp has cyclomatic complexity 16 (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":"src/public/index.html"},"region":{"startLine":13428}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec2d095a336f512dfdecdf5166f6ea526c55f1ce8e8a73ad9240ae9900a8731"}},{"ruleId":"D1","level":"warning","message":{"text":"wsl.createWslBackend.resolveIdentity (cyclomatic 16): wsl.createWslBackend.resolveIdentity has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83db282360f1b62216fd8b699201d4ab8b65c381afcc9eff8cb7f76d917cf62"}},{"ruleId":"D1","level":"warning","message":{"text":"startup-diagnosis.createStartupDiagnosis.addLine (cyclomatic 16): startup-diagnosis.createStartupDiagnosis.addLine has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797e0874a53cf764a95fd0339c878b544d73b809f7badb9fc66668110127d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"server.downloadSelfUpdateOnce (cyclomatic 16): server.downloadSelfUpdateOnce has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"b555fbbf1d1f5e9e065e8e36b31b2b2797719ad312af84ce68c1be192d6acd7e"}},{"ruleId":"D1","level":"warning","message":{"text":"server.diagnosticForAttempt (cyclomatic 16): server.diagnosticForAttempt has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5585a0cc3f9aaaca67080f86a7add6a19a3a7984cd1ad48f2fdd6cc7e258215"}},{"ruleId":"D1","level":"warning","message":{"text":"server.checkAppUpdate (cyclomatic 16): server.checkAppUpdate has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5982}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5cafb12b37c952b1641fe3ec6f48a1c225c1f006424c3576446ccaec6a33c"}},{"ruleId":"D1","level":"warning","message":{"text":"server.packPluginSelection (cyclomatic 16): server.packPluginSelection has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"88498b43d2da51bb605c3fad2dbbe19fd699428fdde8216929f366c9dcf47b34"}},{"ruleId":"D1","level":"warning","message":{"text":"publicFailure (cyclomatic 16): publicFailure has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b303de91de43cd4b3934e50f6b6217567c2d59b1073893b21b8f01733629111"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteCoreForTarget (cyclomatic 16): remoteCoreForTarget has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8086}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1062fc3760909509c6c143fd6d729af9df004736667adbd3526d208fd63408"}},{"ruleId":"D1","level":"warning","message":{"text":"createStdioInspector (cyclomatic 16): createStdioInspector has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 11 function items inside it that branch (a function literal at line 509, a function literal at line 535, failAll, \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":"src/mcp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40da4275992b14bc1de5a0f4099c5f322146ba002aff756e7406526414f0f04"}},{"ruleId":"D1","level":"warning","message":{"text":"createStartupDiagnosis::addLine (cyclomatic 16): createStartupDiagnosis::addLine has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5245e0915ca63fc88e51def897aff03ec50efbbf9077d1e334ccdf29b377b8"}},{"ruleId":"D1","level":"warning","message":{"text":"apply (cyclomatic 16): apply has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 7 function items inside it that branch (handler, handler, (anonymous)::(anonymous)::handler, \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":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2315ce2a00220a7d6d226c94ff440734069bc9be839ffe134e2b06ed4084ad"}},{"ruleId":"D2","level":"warning","message":{"text":"handleApi (cognitive 1185): handleApi has cognitive complexity 1185 (threshold 15). Drivers by points: ternaries 145 (362 pts), if/else 238 (361 pts), boolean chains 274, error handling 79 (165 pts), loops 8 (17 pts), other 6 (nesting depth added 435). Of this number, 1116 points are the body\u0027s own statements and 69 belong to 61 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f07caa98aa1217bf59ac384cbbe99786c2610cb048dd385c1757d2770273b3"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 214): main has cognitive complexity 214 (threshold 15). Drivers by points: if/else 37 (89 pts), boolean chains 52, ternaries 18 (41 pts), loops 14 (23 pts), error handling 4 (8 pts), other 1 (nesting depth added 88). Of this number, 193 points are the body\u0027s own statements and 21 belong to 33 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-probe.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"590cf2decd5a9fb337c02b0db7f44ea4ebdd841f74158ed4dee9f255ed58e01b"}},{"ruleId":"D2","level":"warning","message":{"text":"saveLaunchPresetNow (cognitive 170): saveLaunchPresetNow has cognitive complexity 170 (threshold 15). Drivers by points: if/else 47 (72 pts), boolean chains 55, ternaries 36 (37 pts), other 6 (nesting depth added 26). Of this number, 134 points are the body\u0027s own statements and 36 belong to 13 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03549bc3a96b4b85262cfffd22587690a8104aac96259f1fe39315984fd0a0"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.apply (cognitive 162): factory.apply has cognitive complexity 162 (threshold 15). Drivers by points: if/else 82 (86 pts), boolean chains 29, ternaries 20 (22 pts), error handling 12 (14 pts), other 11 (nesting depth added 8). None of this is in the body itself: all 162 points belong to 116 function items inside it that branch (renameSession, buildSessionItems, buildMenu, \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":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9894e000d34079521baaa0d9820cf2b1337dce496b22a2f758d6d7d8017a9c"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-evidence.buildRepairPresentation (cognitive 150): repair-evidence.buildRepairPresentation has cognitive complexity 150 (threshold 15). Drivers by points: if/else 26 (62 pts), ternaries 14 (44 pts), boolean chains 29, loops 9 (15 pts) (nesting depth added 72). Of this number, 147 points are the body\u0027s own statements and 3 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a84e575bd1650caed37454d67a49fadc1d7ce1418578a98deef3abbe1372ca"}},{"ruleId":"D2","level":"warning","message":{"text":"server.saveManagerSettings (cognitive 143): server.saveManagerSettings has cognitive complexity 143 (threshold 15). Drivers by points: ternaries 55 (90 pts), if/else 29 (42 pts), boolean chains 9, error handling 1 (2 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f75638cb3bf3f71aff19cb37d19718bc1ab23cfe8e1fa68d320d11ffe8f830b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintLaunchHome (cognitive 110): index.html.paintLaunchHome has cognitive complexity 110 (threshold 15). Drivers by points: ternaries 38 (57 pts), boolean chains 45, if/else 6 (8 pts) (nesting depth added 21). Most of this is not in the body itself: 11 of the 110 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 8971, 9042, 9109, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8966}}}],"partialFingerprints":{"codehealthFindingId/v1":"303c6467c2b161988f0f24bd8e147a71b7c87d26d9e72771a9aab2542e0b2b78"}},{"ruleId":"D2","level":"warning","message":{"text":"renameProfile (cognitive 94): renameProfile has cognitive complexity 94 (threshold 15). Drivers by points: if/else 26 (39 pts), ternaries 13 (20 pts), boolean chains 13, error handling 5 (11 pts), loops 8 (11 pts) (nesting depth added 29). Most of this is not in the body itself: 14 of the 94 points are its own statements and the rest belongs to 20 function items inside it that branch (a function literal at line 8713, (anonymous)::scan, (anonymous)::rebase, \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":"src/server.js"},"region":{"startLine":8697}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98194d1c68384682370b3c92c4ee2429f118032c26afe7d3b50a1e67bf71048"}},{"ruleId":"D2","level":"warning","message":{"text":"runSync (cognitive 92): runSync has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 10 (39 pts), if/else 13 (31 pts), loops 5 (10 pts), boolean chains 9, error handling 1 (3 pts) (nesting depth added 54). Of this number, 83 points are the body\u0027s own statements and 9 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c9e02dd06c03fb1464c0bc2afe141b5f9613d4d7f1140202881b26e9dcebfb"}},{"ruleId":"D2","level":"warning","message":{"text":"runSync (cognitive 92): runSync has cognitive complexity 92 (threshold 15). Drivers by points: ternaries 10 (39 pts), if/else 13 (31 pts), loops 5 (10 pts), boolean chains 9, error handling 1 (3 pts) (nesting depth added 54). Of this number, 83 points are the body\u0027s own statements and 9 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2c9e4e62eee2ac3b5a9e2a0a455cdda27a6631abb574af218b267ecc89796b"}},{"ruleId":"D2","level":"warning","message":{"text":"parseTabAction (cognitive 92): parseTabAction has cognitive complexity 92 (threshold 15). Drivers by points: boolean chains 35, ternaries 15 (30 pts), if/else 13 (25 pts), error handling 1, match/switch 1 (nesting depth added 27). Of this number, 79 points are the body\u0027s own statements and 13 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a87e5c09f6381b25b56f88d39a52b0b22d917fbb7546d9de27d84eba0e424f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.flushSettings (cognitive 86): index.html.flushSettings has cognitive complexity 86 (threshold 15). Drivers by points: if/else 37 (56 pts), boolean chains 22, loops 4 (7 pts), error handling 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ec0a43be3ab01c1dfee78e6315af916c630da5281c4e4a18cf2af26916d7b3"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.executeCommand (cognitive 86): factory.executeCommand has cognitive complexity 86 (threshold 15). Drivers by points: if/else 17 (32 pts), ternaries 13 (27 pts), boolean chains 15, error handling 4 (11 pts), match/switch 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"15486944b96f815f525e3178ae3d0a35292c2d3122e9dd18d52b870e53ba9419"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkData (cognitive 84): selfcheck.checkData has cognitive complexity 84 (threshold 15). Drivers by points: if/else 24 (53 pts), ternaries 10 (24 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 44). 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"033cc6d326991c5c1bb901f99e97411bf3164e19a8846a7cc2f3921317a30380"}},{"ruleId":"D2","level":"warning","message":{"text":"startServer::handler (cognitive 80): startServer::handler has cognitive complexity 80 (threshold 15). Drivers by points: if/else 19 (33 pts), ternaries 7 (21 pts), boolean chains 14, error handling 4 (11 pts), other 1 (nesting depth added 35). 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":"src/server.js"},"region":{"startLine":11660}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b812879f19fcfe00f9f9e6bc58fb35247426d29ebd008e8d1207ee19da2ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderRepairActionGroups (cognitive 77): index.html.renderRepairActionGroups has cognitive complexity 77 (threshold 15). Drivers by points: if/else 10 (25 pts), ternaries 7 (22 pts), boolean chains 16, loops 8 (14 pts) (nesting depth added 36). Of this number, 70 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"09aec517278232cecd93b4ace09a9fbcfe8b014de91a24f6501829988d381647"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeDiagnostics.snapshot (cognitive 76): RuntimeDiagnostics.snapshot has cognitive complexity 76 (threshold 15). Drivers by points: if/else 11 (33 pts), boolean chains 18, loops 8 (13 pts), ternaries 8 (12 pts) (nesting depth added 31). Of this number, 51 points are the body\u0027s own statements and 25 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f3ee2f500f53e33f91fa7453292a6c01744f8f43ec44bf2bcde69342fca040"}},{"ruleId":"D2","level":"warning","message":{"text":"rollback (cognitive 75): rollback has cognitive complexity 75 (threshold 15). Drivers by points: if/else 29 (48 pts), boolean chains 23, ternaries 3, error handling 1 (nesting depth added 19). Of this number, 27 points are the body\u0027s own statements and 48 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cc71efd7b4ce35e7468f55a0fac232a66c81ef0cfef234c1cd0b6af9022206"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.SyncPanel (cognitive 74): factory.SyncPanel has cognitive complexity 74 (threshold 15). Drivers by points: if/else 20 (24 pts), ternaries 20 (21 pts), boolean chains 18, error handling 8, other 3 (nesting depth added 5). Of this number, 40 points are the body\u0027s own statements and 34 belong to 27 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a4179aba615e61b51010842b1ac6fba2371bf299db1e2f34cb8ea060f1ab68"}},{"ruleId":"D2","level":"warning","message":{"text":"parseActivation (cognitive 74): parseActivation has cognitive complexity 74 (threshold 15). Drivers by points: if/else 21 (52 pts), boolean chains 10, loops 5 (7 pts), ternaries 2 (4 pts), other 1 (nesting depth added 35). Of this number, 70 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. 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":"src/startup-diagnosis.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c833bdcff34176b93ac98d057b54e5ae262a3d912d6880639380b869a90e0a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"apply (cognitive 71): apply has cognitive complexity 71 (threshold 15). Drivers by points: ternaries 16 (25 pts), if/else 18 (21 pts), error handling 11, other 7, boolean chains 5, loops 2 (nesting depth added 12). Most of this is not in the body itself: 1 of the 71 points is its own statement and the rest belongs to 36 function items inside it that branch ((anonymous)::text, storeForPanel, handler, \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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44f8df71dbed82eb6bae75a05da5f093f1d728484b63701a5345f03239a3b64"}},{"ruleId":"D2","level":"warning","message":{"text":"cancelTabDrag::updateInternalTabs (cognitive 68): cancelTabDrag::updateInternalTabs has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 30, if/else 21 (26 pts), ternaries 6 (9 pts), loops 2, other 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff2eb53b744ca17f4cf9dba2c9265ca4417312661ff3a3bd808958c12bddf18"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.fillSettings (cognitive 66): index.html.fillSettings has cognitive complexity 66 (threshold 15). Drivers by points: if/else 28 (35 pts), boolean chains 20, ternaries 5 (10 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11371}}}],"partialFingerprints":{"codehealthFindingId/v1":"55033cbbd9348acc550d5bfaeea20b653b2ee35aed33bcd0ac02a2acd161a32d"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticRepairs.execute (cognitive 66): DiagnosticRepairs.execute has cognitive complexity 66 (threshold 15). Drivers by points: if/else 22 (35 pts), boolean chains 18, error handling 4 (7 pts), ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 19). Of this number, 19 points are the body\u0027s own statements and 47 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd2802fbf949875f59e70bfb0ad6542d4e16076a08270d5e47b1301797257a4"}},{"ruleId":"D2","level":"warning","message":{"text":"buildConfig (cognitive 65): buildConfig has cognitive complexity 65 (threshold 15). Drivers by points: if/else 26 (42 pts), boolean chains 7, other 7, ternaries 3 (6 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3752eb20fd736d452ba0ec98094f99dedb31626ac26d0511c3b3b942de5a42"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.applyState (cognitive 63): index.html.applyState has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 37, if/else 19 (24 pts), loops 1 (2 pts) (nesting depth added 6). Of this number, 61 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efc9750b4c02653e308d2be63507e89d41c41a39e4c4c61bf990c68b11855e1"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-tabs.updateInternalTabs (cognitive 63): internal-tabs.updateInternalTabs has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 29, if/else 22 (28 pts), ternaries 3 (4 pts), loops 2 (nesting depth added 7). Of this number, 60 points are the body\u0027s own statements and 3 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13fee88ca045fd7fcbf4f4f14bf7a3df0937c58ca800f508ae3a844f8ad859b"}},{"ruleId":"D2","level":"warning","message":{"text":"readRuntimeEvidence (cognitive 63): readRuntimeEvidence has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 33, if/else 10 (16 pts), ternaries 6 (10 pts), loops 2 (3 pts), error handling 1 (nesting depth added 11). Of this number, 53 points are the body\u0027s own statements and 10 belong to 7 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd64b493ca4f82320d197aa4e20702c41da7c3b7d778fa1e7c0b5146aaf0631"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.prepareGuidedLaunchRemote (cognitive 62): index.html.prepareGuidedLaunchRemote has cognitive complexity 62 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 20, ternaries 7 (9 pts), error handling 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7947}}}],"partialFingerprints":{"codehealthFindingId/v1":"7312afde18273f405c9aef54ec5fafa087f4460953dd7a3931b64dc71a1300c5"}},{"ruleId":"D2","level":"warning","message":{"text":"runConnectionPrepare (cognitive 61): runConnectionPrepare has cognitive complexity 61 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 13, error handling 5 (9 pts), ternaries 7 (9 pts), loops 1 (3 pts) (nesting depth added 18). Of this number, 56 points are the body\u0027s own statements and 5 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b285979bd4af2aa237cfca5ae3945c1a7625f3ccfd1f30691827e60bbc71806"}},{"ruleId":"D2","level":"warning","message":{"text":"safeLaunchPresets (cognitive 61): safeLaunchPresets has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 21, error handling 7 (12 pts), if/else 9 (12 pts), boolean chains 8, other 8 (nesting depth added 8). Most of this is not in the body itself: 4 of the 61 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 818, 894, 897). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3e5ea18948c8d0f4fab254be621ed73f1cfda7b044e8deaf593444f2783b26"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.prepareGuidedLaunch (cognitive 60): index.html.prepareGuidedLaunch has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 29, if/else 16 (22 pts), ternaries 7 (9 pts) (nesting depth added 8). Of this number, 52 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8028}}}],"partialFingerprints":{"codehealthFindingId/v1":"3895b3e38c6aa694f63c48a3329c2d41d773ae13ec1e6fbd503a7764c427a023"}},{"ruleId":"D2","level":"warning","message":{"text":"launch-list.sortable (cognitive 60): launch-list.sortable has cognitive complexity 60 (threshold 15). Drivers by points: if/else 25 (29 pts), boolean chains 17, loops 6 (9 pts), ternaries 4 (5 pts) (nesting depth added 8). None of this is in the body itself: all 60 points belong to 17 function items inside it that branch (a function literal at line 118, moveRows, tick, \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":"src/public/launch-list.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5e672172664f2ddea29273a883b7695f3ec49981904bced225db9b295d4a55"}},{"ruleId":"D2","level":"warning","message":{"text":"classify (cognitive 58): classify has cognitive complexity 58 (threshold 15). Drivers by points: if/else 22 (50 pts), boolean chains 3, ternaries 1 (3 pts), loops 1, other 1 (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"713b1d02ae000ba76b72925897667f15ecb2967f85122f5951d5dc93749c9295"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkInstances (cognitive 57): selfcheck.checkInstances has cognitive complexity 57 (threshold 15). Drivers by points: ternaries 13 (26 pts), boolean chains 16, if/else 13 (15 pts) (nesting depth added 15). Of this number, 45 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f0e8916dadc768ee29294b9fc5c88a412d61eaf9a776e8d111abcd333a2401"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.MemoryPanel (cognitive 56): factory.MemoryPanel has cognitive complexity 56 (threshold 15). Drivers by points: other 14, boolean chains 11, if/else 11, ternaries 11, error handling 8 (9 pts) (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 39 belong to 30 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ebcf5a08ce6a545e5c7808f5421100997dd58c0e1346fe26e9d6a06fd3588c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.showAsk (cognitive 55): index.html.showAsk has cognitive complexity 55 (threshold 15). Drivers by points: ternaries 8 (23 pts), if/else 10 (16 pts), boolean chains 12, loops 3 (4 pts) (nesting depth added 22). Of this number, 51 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"src/public/index.html"},"region":{"startLine":10853}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ed614c45f6d35dba2465dbfa9b7e3d698a4d2f53573d0afcceccd9a1938c4a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.listenEvents (cognitive 54): index.html.listenEvents has cognitive complexity 54 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 19, error handling 5, ternaries 1 (2 pts), loops 1 (nesting depth added 6). None of this is in the body itself: all 54 points belong to 7 function literals inside it that branch (lines 10316, 10370, 10267, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c85719698df95791b6954d760bbb0d1f8a8b091dc80171684b34da19577a70"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.pageSnapshot (cognitive 54): factory.pageSnapshot has cognitive complexity 54 (threshold 15). Drivers by points: if/else 14 (34 pts), boolean chains 11, ternaries 5 (8 pts), loops 1 (nesting depth added 23). Of this number, 49 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b9830fc8811e2d708c66949952ec6ed304d3e85368607e0210b2d6723c2d09"}},{"ruleId":"D2","level":"warning","message":{"text":"parseManifest (cognitive 54): parseManifest has cognitive complexity 54 (threshold 15). Drivers by points: if/else 21 (35 pts), boolean chains 10, loops 2 (6 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1571499ba2c0b8f0f579a4c422d61a047edb472c24ba7ddac13765f82e7f4f32"}},{"ruleId":"D2","level":"warning","message":{"text":"startWithRepair (cognitive 52): startWithRepair has cognitive complexity 52 (threshold 15). Drivers by points: if/else 6 (21 pts), error handling 5 (12 pts), ternaries 3 (11 pts), loops 1 (4 pts), boolean chains 3, other 1 (nesting depth added 33). Of this number, 48 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8518}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5ecb1201cb96434c7477b9a8df0e6f617fef9d7103c534690c4d4abd5b07e1"}},{"ruleId":"D2","level":"warning","message":{"text":"createInstanceLink (cognitive 52): createInstanceLink has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (40 pts), boolean chains 9, error handling 1 (2 pts), loops 1 (nesting depth added 27). None of this is in the body itself: all 52 points belong to 9 function items inside it that branch (a function literal at line 65, (anonymous)::(anonymous)::adopt, a function literal at line 102, \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":"src/instance-link.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42b02cd003c5eaf902de88979e11b38f94e9e0e4eaa4ebf0cd628939c5f179c"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkPlugins (cognitive 51): selfcheck.checkPlugins has cognitive complexity 51 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 15 (20 pts), boolean chains 9 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77a3bf3115d8170e1de4bdb9ea2740263ae4f8a9eaacaf62dfeea742f96f90f"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.validateSettings (cognitive 50): selfcheck.validateSettings has cognitive complexity 50 (threshold 15). Drivers by points: if/else 18 (29 pts), boolean chains 15, loops 3 (6 pts) (nesting depth added 14). Of this number, 49 points are the body\u0027s own statements and 1 belongs to one function item 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b1e78b126bce5d462482f11810e9cfd86afb2a9877c1cdcc990c879684c857"}},{"ruleId":"D2","level":"warning","message":{"text":"instance-link.createInstanceLink.server (cognitive 50): instance-link.createInstanceLink.server has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (40 pts), boolean chains 7, error handling 1 (2 pts), loops 1 (nesting depth added 27). None of this is in the body itself: all 50 points belong to 3 function literals inside it that branch (lines 65, 86, 102). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/instance-link.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"72abc2c5d3b41955d8d45e9c0cc0a526f2fa72425036425479f640bde8ef41eb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.showRepairHistory (cognitive 50): index.html.showRepairHistory has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 7 (17 pts), boolean chains 16, if/else 6 (12 pts), loops 3 (5 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fc1c70bbf18b6f0e0b62fd7b36c5f21e58e1d6e69e500726bbde8add089d2d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintGuideTarget (cognitive 49): index.html.paintGuideTarget has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 21, ternaries 10 (17 pts), if/else 7 (8 pts), loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a468a273f9278ac809927372323a6cd11d995e1d9ad311b6f9682a13a7b0fd70"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.apply::loop (cognitive 49): factory.apply::loop has cognitive complexity 49 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 4 (14 pts), boolean chains 9, ternaries 2 (7 pts), loops 2 (3 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e93d77ce4f46aa2c6ef4981bd5be78f46536f8b169d016a07d68f67c744437"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.showRepairCards (cognitive 48): index.html.showRepairCards has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 15, if/else 9 (14 pts), loops 6 (9 pts), ternaries 2 (9 pts), error handling 1 (nesting depth added 15). Of this number, 45 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4097}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd582c749a429772ac0735d1652d588cf6dcb984815b76786060806863e426e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintRemoteSettings (cognitive 48): index.html.paintRemoteSettings has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (15 pts), loops 10 (11 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 9). Of this number, 24 points are the body\u0027s own statements and 24 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6772829ad2e2aa0a535d00c4d7cddfcfcf40307a0235e9a4bfb5e3086608a0e6"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkSkills (cognitive 47): selfcheck.checkSkills has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 7, ternaries 3 (7 pts), loops 2 (5 pts) (nesting depth added 18). Of this number, 46 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5725db0dcf9a055e25fa3b03d3fa0333eb83894d5bce5ea9c52cafa931110ea"}},{"ruleId":"D2","level":"warning","message":{"text":"startServer (cognitive 47): startServer has cognitive complexity 47 (threshold 15). Drivers by points: if/else 33 (57 pts), ternaries 13 (33 pts), error handling 10 (23 pts), boolean chains 17, other 2, loops 1 (nesting depth added 57). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdeb427fa50fa0b3b01fdfa05ffb650107890ba7467feb31b36b4ae6233d28b"}},{"ruleId":"D2","level":"warning","message":{"text":"writeZip (cognitive 47): writeZip has cognitive complexity 47 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 8 (15 pts), error handling 3 (8 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 22). Of this number, 45 points are the body\u0027s own statements and 2 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a5ca31a6fd0c8c07a529162bdcd71e3fcd00fbc5a558211f8ccbcc94d882cd"}},{"ruleId":"D2","level":"warning","message":{"text":"writeZip (cognitive 47): writeZip has cognitive complexity 47 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 8 (15 pts), error handling 3 (8 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 22). Of this number, 45 points are the body\u0027s own statements and 2 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f995536e07a3e9dad26a823c4540263ee720c55e43f658f942f26e49422174b"}},{"ruleId":"D2","level":"warning","message":{"text":"createTools (cognitive 46): createTools has cognitive complexity 46 (threshold 15). Drivers by points: ternaries 16 (23 pts), if/else 8, other 8, error handling 7 (nesting depth added 7). Most of this is not in the body itself: 1 of the 46 points is its own statement and the rest belongs to 23 function items inside it that branch (a function literal at line 209, a function literal at line 245, a function literal at line 282, \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":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"148fcd9e6988ba025eb1e92cc55c13757bfb045a340092ab81703a032726189b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.launchFormEl.onsubmit (cognitive 45): index.html.launchFormEl.onsubmit has cognitive complexity 45 (threshold 15). Drivers by points: ternaries 13 (19 pts), boolean chains 15, if/else 7 (10 pts), error handling 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":"src/public/index.html"},"region":{"startLine":9765}}}],"partialFingerprints":{"codehealthFindingId/v1":"223d79fd14edd37b1c7641ddab1572e976034d0e13014370b53a75cfaec457e8"}},{"ruleId":"D2","level":"warning","message":{"text":"core-fetch.compareVersions (cognitive 44): core-fetch.compareVersions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (20 pts), ternaries 7 (16 pts), boolean chains 6, loops 2 (nesting depth added 18). Of this number, 40 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d77a2095d299e76ed1e53dbe3c84fbda634bd5960cf4dfd2e26b0ade3cef1a0"}},{"ruleId":"D2","level":"warning","message":{"text":"slice-layer-sheet.main (cognitive 43): slice-layer-sheet.main has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (28 pts), loops 7 (11 pts), boolean chains 4 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/mascot-design/slice-layer-sheet.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2434627182669bce55b6fdcac0938319b224d3a07e4e30d086c2addf615117"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkManager (cognitive 42): selfcheck.checkManager has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 5 (14 pts), boolean chains 11 (nesting depth added 13). Of this number, 38 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cdce243cd92c9d7c48b7840e3b383d537ef8975fb9d627de1471a1e68cd4f58"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkNetworkConfig (cognitive 42): selfcheck.checkNetworkConfig has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 5 (14 pts), boolean chains 10 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a462f24603c4fe211cdf97200556a26953cfb37df328b7880a745ccec14f456"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticRepairs.preview (cognitive 42): DiagnosticRepairs.preview has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 17, ternaries 8 (13 pts), if/else 5 (8 pts), loops 3, error handling 1 (nesting depth added 8). Of this number, 33 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66d0baeb5b563b72227e7cc0ee7a40526cc800b254bbf11c9374dfa1c134f51"}},{"ruleId":"D2","level":"warning","message":{"text":"startup-diagnosis.createStartupDiagnosis.report (cognitive 42): startup-diagnosis.createStartupDiagnosis.report has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 16, loops 3 (5 pts), ternaries 3 (nesting depth added 11). Of this number, 40 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b625301c021cff0a69e23fdf6fcc75759cd65135b13462e7155d1a43dfc243"}},{"ruleId":"D2","level":"warning","message":{"text":"configuration-evidence.configurationSources (cognitive 41): configuration-evidence.configurationSources has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 13, loops 3 (6 pts), ternaries 1 (4 pts) (nesting depth added 17). Of this number, 38 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1914ca8d17508105b88c108672783262d9a324d3cb6535f5f565c9c9ff6b14"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.confirmationText (cognitive 41): index.html.confirmationText has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 6, boolean chains 5 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3917}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e2b51292efdddd6b2bbc8412531439ef5b955a84c67baceb2e2831a110e86"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.render (cognitive 41): index.html.render has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 19, if/else 12, ternaries 6 (9 pts), loops 1 (nesting depth added 3). Of this number, 39 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9860}}}],"partialFingerprints":{"codehealthFindingId/v1":"611e2645e0ebfc0a3d381ea32513a8602bc36a23dd4ea6aa31981cffb6e4c1ec"}},{"ruleId":"D2","level":"warning","message":{"text":"execute::(anonymous)::(anonymous)::mutate (cognitive 41): execute::(anonymous)::(anonymous)::mutate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 9, error handling 3 (6 pts), ternaries 2 (5 pts), loops 1 (2 pts), other 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e989b87f7a029649d753042410b291dc258fdb212afb7d2a0458d7439174a46"}},{"ruleId":"D2","level":"warning","message":{"text":"tick (cognitive 41): tick has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 6 (7 pts), boolean chains 5, loops 1, match/switch 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"176eaef277f0d4087dbd3c6e4abc2a611d2e9bf330fa531dcb2d36e337b7f572"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.planSync (cognitive 40): sync.planSync has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 4 (18 pts), if/else 8 (16 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 24). 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2711d667fdf555bfe85935dc0414f0069ac6589ff525587f69f2e7fdfbbe24"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.planSync (cognitive 40): sync.planSync has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 4 (18 pts), if/else 8 (16 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 24). 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":"src/sync.js"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"320c9add102e05998f14f56b9edba8542be22c92e2358cdb42531c9ffee92f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.prepareSkillImport (cognitive 40): skills.prepareSkillImport has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 7, loops 2 (3 pts), ternaries 1 (nesting depth added 15). Of this number, 37 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fad0b4ae2e1c208c71335411f0fca4172c350adc3a2a87cf1e2f4b1bb6671fb"}},{"ruleId":"D2","level":"warning","message":{"text":"saveSettingsNow (cognitive 40): saveSettingsNow has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 15, if/else 11 (13 pts), error handling 7 (9 pts), loops 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1f96440915a836f6ce8c8d608dcb2142cd99a6e773a860067ccf5ddfe6b8de"}},{"ruleId":"D2","level":"warning","message":{"text":"main.flushCoreSetupPaint (cognitive 39): main.flushCoreSetupPaint has cognitive complexity 39 (threshold 15). Drivers by points: ternaries 16 (36 pts), boolean chains 2, if/else 1 (nesting depth added 20). 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":"shell/main.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7842ad8b242d68e756a3e0cc5a610d109e02224443d35016fcbd4a9512033b5"}},{"ruleId":"D2","level":"warning","message":{"text":"server.startRemoteViaCore (cognitive 39): server.startRemoteViaCore has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (11 pts), ternaries 8 (11 pts), error handling 2 (4 pts), loops 1 (nesting depth added 7). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dd2bf4dbe9d6fa0b1affda2178af39c49e9e691580520bf3e65865ef77e278"}},{"ruleId":"D2","level":"warning","message":{"text":"bootWslOnce (cognitive 39): bootWslOnce has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 14, ternaries 9 (11 pts), if/else 8, error handling 4 (6 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7899}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d129e82a728b3c0c79c434faf1b740fa9b628af72d76e7eb4a1af60bd9fb9e"}},{"ruleId":"D2","level":"warning","message":{"text":"createStartupDiagnosis::report (cognitive 39): createStartupDiagnosis::report has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 13, loops 3 (5 pts), ternaries 2, other 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"130ab723d4483be0bc3e3cc4aff6bc4eee84da4a65a6c746d4a1b1d6635a2cf2"}},{"ruleId":"D2","level":"warning","message":{"text":"optional-analytics-proof.optionalAnalyticsProof (cognitive 38): optional-analytics-proof.optionalAnalyticsProof has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (22 pts), boolean chains 6, loops 4 (6 pts), ternaries 1 (4 pts) (nesting depth added 14). Of this number, 22 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/optional-analytics-proof.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b612131a76614f24609e6e933ee7f659895430dad43ec0444ba4495951228e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.document.getElementById(\u0027profileForm\u0027).onsubmit (cognitive 38): index.html.document.getElementById(\u0027profileForm\u0027).onsubmit has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 6 (10 pts), boolean chains 4, error handling 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12359}}}],"partialFingerprints":{"codehealthFindingId/v1":"303e515c06d2e36e6ab568fd0cf6940176a81164265ba3d1341b003d77899634"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-dependencies.dependencyRemovalScope.reachable (cognitive 38): repair-dependencies.dependencyRemovalScope.reachable has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 18). Of this number, 36 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"436856add368880799b697fee3452648644bc4682861057a4b62d8357b057730"}},{"ruleId":"D2","level":"warning","message":{"text":"update (cognitive 38): update has cognitive complexity 38 (threshold 15). Drivers by points: if/else 17 (25 pts), loops 6 (9 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb5f96f22bba9caf8db62bb7121090b2f61960eea94050ef1d78a29c8bcb878"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.analyzeLogs (cognitive 37): selfcheck.analyzeLogs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (25 pts), boolean chains 7, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaccaeea7b4ce1a0b5dfcfdcee67c091f2521fbe1786d66f1d4f18731be68cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-tabs.finishDrag (cognitive 37): internal-tabs.finishDrag has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 6, error handling 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbcef4ded2976cf6bc52aaa7385315dc0277ea435ebef137249c6462e370013"}},{"ruleId":"D2","level":"warning","message":{"text":"start (cognitive 37): start has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 8, error handling 5 (7 pts), ternaries 2 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 6 belong to 25 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4feab7d8e0bb682090fcf98a5201f646a86b76cda14f169008517fa4b4505d"}},{"ruleId":"D2","level":"warning","message":{"text":"applyInstall (cognitive 37): applyInstall has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (19 pts), if/else 4 (8 pts), boolean chains 6, loops 2 (3 pts), error handling 1 (nesting depth added 14). Of this number, 36 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4ec978b957e9863bbc5b10822393c1c1b9b9a66eb6da70ee8445071f089ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencyRemovalScope (cognitive 37): dependencyRemovalScope has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (46 pts), boolean chains 17, loops 4 (6 pts), ternaries 2 (6 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb628de34bc7de9ca537f14c10096f7bc187659f7cdcc76b3a865175a22c54f"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkHome (cognitive 36): selfcheck.checkHome has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (20 pts), ternaries 6 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 10). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c782656b8909fccb828aab67871df6e6dfe9eda7a896a8c0b811f9b7ee34e16"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintPickerHomes (cognitive 36): index.html.paintPickerHomes has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 14, ternaries 12 (13 pts), loops 7 (8 pts), if/else 1 (nesting depth added 2). Of this number, 23 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ff2fed737c30ab7b0962380338a186096d6cc325d554644169dec38da7d1db"}},{"ruleId":"D2","level":"warning","message":{"text":"safeConnection (cognitive 36): safeConnection has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 11 (14 pts), if/else 10 (13 pts), boolean chains 5, error handling 3 (4 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b233d75f99986c95f6e070e970bb6b3964f55be001b30ad14798f5dd9514cc80"}},{"ruleId":"D2","level":"warning","message":{"text":"startMascot::tick (cognitive 36): startMascot::tick has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (26 pts), boolean chains 4, if/else 4, loops 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4713c4b01b187322adc691f2c519f4c129b5a177146a164642861ecf5988e161"}},{"ruleId":"D2","level":"warning","message":{"text":"bootOnce (cognitive 35): bootOnce has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (12 pts), if/else 10 (11 pts), boolean chains 7, error handling 4 (5 pts) (nesting depth added 5). Of this number, 30 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7773}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6980708d967c1413af067f7591e1927a7785e33e2a1721a6cabd3e74aeb35b"}},{"ruleId":"D2","level":"warning","message":{"text":"saveConnectionFromBody (cognitive 35): saveConnectionFromBody has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 9 (14 pts), boolean chains 13, if/else 7, other 1 (nesting depth added 5). Of this number, 32 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cc38b1d9409299063c83decf4faa3d2cbfa3c1e55186824caf9bcc75eb8d16"}},{"ruleId":"D2","level":"warning","message":{"text":"dependencyRemovalScope::reachable (cognitive 35): dependencyRemovalScope::reachable has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"d716b73c1c6b2aed37103cc23e19221eba15d9cf3b9e025922b2898877186a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"apply (cognitive 35): apply has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 10 (16 pts), if/else 7 (9 pts), error handling 6, loops 2, boolean chains 1, other 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 19 function items inside it that branch (runJob, handler, handler, \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":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e31ba7718fcd79d910cac82c23ce54acdfcbdcc025d5b7a2c0213de7e095ac1"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkEnvironment (cognitive 34): selfcheck.checkEnvironment has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 6 (12 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc38974135393acf88d7c1ff9734badc679b5a90963b90507cd1b535b842ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"server.trayAction (cognitive 34): server.trayAction has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 13, ternaries 3 (4 pts) (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7d6a7d95c6c373a9ce258bd153e054090b08a680cfda0eeea9c802ea8f8be8"}},{"ruleId":"D2","level":"warning","message":{"text":"server.removeLaunchPresetNow (cognitive 34): server.removeLaunchPresetNow has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 4 (10 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ebc7becf6437d5ae4f58f7197ca4f0da5beed2a786064e0e758bae427567413"}},{"ruleId":"D2","level":"warning","message":{"text":"dialogOptions (cognitive 34): dialogOptions has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 8 (17 pts), boolean chains 8, if/else 6 (8 pts), match/switch 1 (nesting depth added 11). Of this number, 31 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/desktop.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e729a59871303e25edd3029924eb64074a40dd4e32da1033bb89d35eaa264605"}},{"ruleId":"D2","level":"warning","message":{"text":"stop (cognitive 33): stop has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 12, ternaries 9, if/else 5 (7 pts), loops 3 (5 pts) (nesting depth added 4). Of this number, 25 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9203}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d0b76794c92c0ec93adff9c36b8b109c142697c10f61ad3924f082f9582539"}},{"ruleId":"D2","level":"warning","message":{"text":"stopTabDrag (cognitive 33): stopTabDrag has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (17 pts), error handling 4 (9 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"7acedd516f69d34790d954b5e5670ae1779b911bf7350bda608f84f3169824b3"}},{"ruleId":"D2","level":"warning","message":{"text":"inspectWslDistro (cognitive 33): inspectWslDistro has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdc8f388bdaac21b2bd3b1dab02b77804fbb029e4b23d92a848c4d92d8f38ec"}},{"ruleId":"D2","level":"warning","message":{"text":"declaredService (cognitive 33): declaredService has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 11, loops 2 (nesting depth added 8). Of this number, 32 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99cad5f6ba68cbd2237d917f9c94bbb5ad496d2a625d30dcd1ebdff079f2c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"main.handleTabMessage (cognitive 32): main.handleTabMessage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 8, match/switch 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":"shell/main.mjs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"790d53a2de12c01813d8173920b5ac84aaf30cb5d372a41a6dd8587179f6af91"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.parseArgs (cognitive 32): selfcheck.parseArgs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (24 pts), boolean chains 7, loops 1 (nesting depth added 9). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function item 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"02148039a830320472a330fe5d1290b394e084492aaf57c32ecbf81da632b9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.checkNetworkProbe (cognitive 32): selfcheck.checkNetworkProbe has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 12 (22 pts), if/else 4 (6 pts), boolean chains 3, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85560049b7117f48c669370950d779ff18d59f8de4036c5bb1cf16fb88a8187"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.handlePrepareUpdate (cognitive 32): index.html.handlePrepareUpdate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 11 (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":"src/public/index.html"},"region":{"startLine":5694}}}],"partialFingerprints":{"codehealthFindingId/v1":"756be5d14f8b3cb820d09cc7db9583c75c998e6246834d8d0dd817b9d0b152df"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.selectPickerHome (cognitive 32): index.html.selectPickerHome has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 14, error handling 1 (2 pts) (nesting depth added 7). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7462}}}],"partialFingerprints":{"codehealthFindingId/v1":"67999083d15b1b3404176287ee9e2ca32614127e256f4d87f6a5ed89095b9197"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.removePickerProfile (cognitive 32): index.html.removePickerProfile has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, ternaries 4 (6 pts), loops 1 (2 pts), error handling 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":"src/public/index.html"},"region":{"startLine":7794}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e90f5f025adec75cdb55b83c3249e4afd02b3ca7abafe99f8be49f42ee924f"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderLaunchReport (cognitive 32): index.html.renderLaunchReport has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 22, ternaries 9, if/else 1. Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to 13 function items inside it that branch (a function literal at line 8487, packageTitle, splitTitle, \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":"src/public/index.html"},"region":{"startLine":8480}}}],"partialFingerprints":{"codehealthFindingId/v1":"79040d85b4f1d496196ccc76e93d354df95bf2b1cb5bff31f34249c064ba555a"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.restoreProfileBackup (cognitive 32): recovery.restoreProfileBackup has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 3 (7 pts), error handling 2 (4 pts), loops 1 (4 pts), boolean chains 3 (nesting depth added 16). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 198, 209). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recovery.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"be25ea92b464d264180441706bca288e9b87d6b4a0e0ef71eee232ebfbb0e54a"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-plan.profileFingerprint (cognitive 32): repair-plan.profileFingerprint has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, error handling 2 (5 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-plan.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5afdd5ad24107e3f5f9a666d1c16e6662c60eaf33d9960d5668bef219272160"}},{"ruleId":"D2","level":"warning","message":{"text":"DiagnosticRepairs.inspect (cognitive 32): DiagnosticRepairs.inspect has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 16, if/else 8, ternaries 5 (6 pts), error handling 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 199, 228, 243, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf11c5f0d7d5e6976caa192464ab1467a3073c69ead171e167d908c924bf1ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"server.addPlugin (cognitive 32): server.addPlugin has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (17 pts), ternaries 4 (8 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6458}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b2fce8ac95c9b7c473862904d0822dee86256f085f31c7b86005d10ac4573d"}},{"ruleId":"D2","level":"warning","message":{"text":"declarationEvidence (cognitive 32): declarationEvidence has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 10, loops 2 (5 pts), error handling 1 (nesting depth added 12). Of this number, 31 points are the body\u0027s own statements and 1 belongs to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1fd109dcaacee3f49cfcd2a1d65370103c6036f6cdbac48ec150924cb0ee3d"}},{"ruleId":"D2","level":"warning","message":{"text":"readZip (cognitive 32): readZip has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 5, ternaries 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zip.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55406a8834708f7fecb6d038cef679cc28dfb5035c093a48e6c4ed7101e239d"}},{"ruleId":"D2","level":"warning","message":{"text":"apply (cognitive 32): apply has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4 (7 pts), error handling 6, boolean chains 3, other 3 (nesting depth added 5). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 121, a function literal at line 154, send, \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":"plugins/dsh-x-desktop-notify/lib/index.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"624c04c6714da633a4552af860e08e747b05c756ba8c236af13a305eb67476f7"}},{"ruleId":"D2","level":"warning","message":{"text":"index.validate (cognitive 31): index.validate has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 11, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb92e617c603aa0472e4ed2b1e07ea603aa69cfffbd3b35cb303e38f37c9493d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.showPane (cognitive 31): index.html.showPane has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 6 (7 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4579}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3648f30e6c0e4d4da83e1079d99fcf91b8f9321bf3dd04b87d8d65529f517a6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderPackView (cognitive 31): index.html.renderPackView has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 15, ternaries 6 (10 pts), if/else 6 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 10 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12696}}}],"partialFingerprints":{"codehealthFindingId/v1":"f525ab8b50f1ddee235829aea9c7dd4d48597fa33e3a9f4e052cb6cbbcc515fc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.findSystemNode (cognitive 31): server.findSystemNode has cognitive complexity 31 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (8 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4885}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ea90ae64ec8885eaf602cf2148bc91cb32349cb54ca0c60618603b74e57b1a"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.buildContext (cognitive 30): selfcheck.buildContext has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 15, ternaries 6 (8 pts), if/else 6 (7 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1150e4c4c2e43630274d010c2066dd3ee764d2ceddfe6f096b21710767544f1d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.openProfileDialog (cognitive 30): index.html.openProfileDialog has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 11 (19 pts), boolean chains 7, if/else 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8958053701da36b6b23e9083b13d734e80c8d6d8a54f30721d687af724cb3b28"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderPackInspect (cognitive 30): index.html.renderPackInspect has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 17, if/else 6 (7 pts), ternaries 6 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12987}}}],"partialFingerprints":{"codehealthFindingId/v1":"78409a6d36049977623a2c095a1fbeafb3790a1e24072b5f8272a0288acbccb7"}},{"ruleId":"D2","level":"warning","message":{"text":"SshRemoteCore.streamLogs (cognitive 30): SshRemoteCore.streamLogs has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 2 (6 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). Most of this is not in the body itself: 2 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 374, 349, 364). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"103eb3b525e58fc9f0e93072b0b9ed7d12eb4215388d68b458f6fe5bde643d96"}},{"ruleId":"D2","level":"warning","message":{"text":"server.exportEnvironmentNow (cognitive 30): server.exportEnvironmentNow has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, ternaries 7, loops 1 (nesting depth added 3). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be871cf63d7f9e9f8786c775c6d677225279be708333b8d6fc4d4afa21c3914"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.formatSnapshot (cognitive 30): factory.formatSnapshot has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), ternaries 5 (9 pts), boolean chains 4, loops 1 (nesting depth added 11). Of this number, 27 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7a0fb7fecea688008bbc578dd557c9d25d354aa58f5407ab058578b40cbf36"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintLaunchProfiles (cognitive 29): index.html.paintLaunchProfiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 2 (5 pts), ternaries 2 (3 pts) (nesting depth added 9). Of this number, 26 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4941}}}],"partialFingerprints":{"codehealthFindingId/v1":"f948ebd0da4f37a9aa855618e67707d844edc59acdead0c47ea08dd91ce50bef"}},{"ruleId":"D2","level":"warning","message":{"text":"megabytes::exportEnvironmentNow (cognitive 29): megabytes::exportEnvironmentNow has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 8, boolean chains 7, loops 1, other 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"812e59985a0b1c97663db3c5420b2550c3e6aa247603decbb9bc8cfd4e47e3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderDiagnosis (cognitive 28): index.html.renderDiagnosis has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3586}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f729d64428cf3311fd093fe9d4ec20b8c7026795cbeae05148ca14010bf4065"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintPickerDetails (cognitive 28): index.html.paintPickerDetails has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 7 (11 pts), boolean chains 5 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7403}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de11c3adebe9f0e7caf49912fe8e533966ed1752e8a5b5a1197cb0443b727dc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.attributePlugins (cognitive 28): server.attributePlugins has cognitive complexity 28 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 4 (11 pts), boolean chains 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"da970d022d6480418add6c2cfc7f3b135df25395ff5a20fad003d8ff373975f6"}},{"ruleId":"D2","level":"warning","message":{"text":"server.createProfile (cognitive 28): server.createProfile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (13 pts), ternaries 7 (8 pts), boolean chains 6, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 8889, 8897). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8871}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fa5f56138675cb92a955e54debda87886e9dd0c79bb87ed99bcf7134d0e200"}},{"ruleId":"D2","level":"warning","message":{"text":"probeStdio (cognitive 28): probeStdio has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 7, other 6, if/else 4, error handling 2 (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e5b1f0046039008cfb83f8ce8e11748b5ca1f8fd66bf0e37a36d1efb070a53"}},{"ruleId":"D2","level":"warning","message":{"text":"expandComparator (cognitive 28): expandComparator has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6 (9 pts), boolean chains 7, other 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/version.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf44bbb92425d9121288cc9ec0c092da844813636b75526d9592766f016d1f6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.setLaunchBackend (cognitive 27): index.html.setLaunchBackend has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 9 (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4907310c9a9454c46fdb9376e8a8b77a8cbda44399110615bb4f28d89f538da"}},{"ruleId":"D2","level":"warning","message":{"text":"server.autoDisableFailedPlugins (cognitive 27): server.autoDisableFailedPlugins has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). Of this number, 21 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea25671995eef3df4654ffb5dad521c8e7bf6270eac635ed60df176e1124871"}},{"ruleId":"D2","level":"warning","message":{"text":"runPluginCommand (cognitive 27): runPluginCommand has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, loops 3 (4 pts), ternaries 3 (4 pts), error handling 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 6315, a function literal at line 6355, (anonymous)::keepLine, \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":"src/server.js"},"region":{"startLine":6306}}}],"partialFingerprints":{"codehealthFindingId/v1":"48bcf12c9785a91a194aa28663e731f41e7cdebbf70ad580415486b466e66a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"attachProcess (cognitive 27): attachProcess has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, ternaries 2 (4 pts), loops 1, other 1 (nesting depth added 6). None of this is in the body itself: all 27 points belong to 10 function items inside it that branch (onLine, a function literal at line 7506, a function literal at line 7571, \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":"src/server.js"},"region":{"startLine":7478}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f988dbfc638692ae11b17c0b83877fbd8d7b16ce952acc416734edb249ffcd"}},{"ruleId":"D2","level":"warning","message":{"text":"connectionDraftFromBody (cognitive 27): connectionDraftFromBody has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 9, other 7, if/else 5 (6 pts), ternaries 5 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9901}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a756946345bbf002a49feceebd53d5de80545f3a0580b5d28346a968948de31"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.pickElement (cognitive 27): factory.pickElement has cognitive complexity 27 (threshold 15). Drivers by points: error handling 6 (11 pts), if/else 8 (10 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4c419f444214c2dcd5f930edc039b2a8ed57ee9e7ac739e265737bc4a855f7"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.installViewport (cognitive 27): factory.installViewport has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 4, ternaries 3 (4 pts), boolean chains 3 (nesting depth added 2). None of this is in the body itself: all 27 points belong to 14 function items inside it that branch (applyFrame, syncViewportBar, ensureViewportBar, \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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee381f8e5e924428fb6376e4d6a02d8e2adb419889b8c9faf6628209ea1fad4"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateLegacyWslPresets (cognitive 27): migrateLegacyWslPresets has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (8 pts), if/else 6 (7 pts), error handling 1, loops 1 (nesting depth added 3). Most of this is not in the body itself: 2 of the 27 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 532, uniqueName, a function literal at line 543, \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":"src/settings.js"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ba95a4647ab88ae3f598db22cbfaad5369df1f859c985267d5d8f09de5d26d"}},{"ruleId":"D2","level":"warning","message":{"text":"parseMemory (cognitive 27): parseMemory has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 3, loops 2, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"de53a4f1bc3c599cbb8fceeb7de4c4a80822d75d345b7ad193fadc416454704d"}},{"ruleId":"D2","level":"warning","message":{"text":"env.findSystemNode (cognitive 26): env.findSystemNode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (8 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/env.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e702911f80d4de660399a9700f3abe1c6ed31db6edd74431a6d5acb7e2e133"}},{"ruleId":"D2","level":"warning","message":{"text":"main.startTabDrag (cognitive 26): main.startTabDrag has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, ternaries 4 (6 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 2 function items inside it that branch (update, a function literal at line 985). 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":"shell/main.mjs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"738a0cc2b0339d7261fe7a881cbd4d3f05d25adc5d5bd4da11f2953d166c3905"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.recommendedVersion (cognitive 26): index.html.recommendedVersion has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 17, if/else 4 (6 pts), ternaries 2 (3 pts) (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8849}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a59b4e8bc0e709eeec53a71f60bc38a22153009d78df635be274aefb895cc4"}},{"ruleId":"D2","level":"warning","message":{"text":"compose-v7.remove_specks (cognitive 26): compose-v7.remove_specks has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/mascot-design/compose-v7.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a92a25af191bf48d28a9ed0dca6818e37bbac91f8f6aa4aebc2b568b6a57642"}},{"ruleId":"D2","level":"warning","message":{"text":"applyLaunchEnvironment (cognitive 26): applyLaunchEnvironment has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7, ternaries 2 (3 pts), error handling 2 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d88a798310f56d2d152c1cbd03d851075e60ca3b1d320c3fe7624413eae049e"}},{"ruleId":"D2","level":"warning","message":{"text":"mergeManifests (cognitive 26): mergeManifests has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 2 (4 pts), loops 3, other 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e143bdd9bf633fa1b478ea4ba32c858dcc51240adde8cbeccb579a137de259"}},{"ruleId":"D2","level":"warning","message":{"text":"mergeManifests (cognitive 26): mergeManifests has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 4, ternaries 2 (4 pts), loops 3, other 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d127fed3b93aa8b40786a8f16cde08091a482de744babca9d3e300846a8361"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.revealFrame (cognitive 26): factory.revealFrame has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 2 (5 pts), error handling 2 (4 pts), loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca35a3d28412359c065b97d6d74736683b3d2827ee9782858cc3c6f1be4cf57"}},{"ruleId":"D2","level":"warning","message":{"text":"apply::captureGuest (cognitive 26): apply::captureGuest has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 8, if/else 7, ternaries 3 (6 pts), error handling 4 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbeebdf87cdbcd84c784b102dee853efd6bd98ce14e198eacd47ef6f110bd3a"}},{"ruleId":"D2","level":"warning","message":{"text":"search (cognitive 26): search has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), other 4, loops 2 (3 pts), boolean chains 1 (nesting depth added 12). Of this number, 25 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed82484270954761874c9687d24354a52d026c4e04246815490f824bcd9741c8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.pickPath (cognitive 25): index.pickPath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 5 (11 pts), boolean chains 3 (nesting depth added 10). Of this number, 13 points are the body\u0027s own statements and 12 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1718caa4bb95b814ac0e35d0c8ab7b9cca39f5fe512f87ad55f13e112712a11"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.requestOnce (cognitive 25): proxy.requestOnce has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 10, ternaries 6 (8 pts), if/else 7 (nesting depth added 2). None of this is in the body itself: all 25 points belong to 5 function literals inside it that branch (lines 375, 341, 362, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c13f968666fb6677a101fc10203ee3986d77342198cf67779e9bc21ca646b82"}},{"ruleId":"D2","level":"warning","message":{"text":"bind (cognitive 25): bind has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 7, error handling 1 (3 pts), ternaries 3, loops 2 (nesting depth added 4). None of this is in the body itself: all 25 points belong to 12 function items inside it that branch (a function literal at line 85, releaseAll, a function literal at line 111, \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":"shell/browser-guests.mjs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3215ca3ff470e0010e63f2b8df13b15d71e73e3b6ce138c38aa5acc4fa29aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.runningInfo (cognitive 24): index.html.runningInfo has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (8 pts), ternaries 2 (3 pts) (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4747}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7f8414f47b8c4261a56c74aa7f3df3ec589d60049b54572e38cdd24cd6a86"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintVersionManager (cognitive 24): index.html.paintVersionManager has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 20, if/else 3, ternaries 1. Of this number, 23 points are the body\u0027s own statements and 1 belongs to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"819757bb15a3fff0a97472f45bf2bf240cc9fdf80e9d32933dcf67d054599c8b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintSelfPill (cognitive 24): index.html.paintSelfPill has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 8 (9 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8324d4b0073a8dd14d7f3fb1fab9bec892ba1fbadeecb8b202c904d09c1e110c"}},{"ruleId":"D2","level":"warning","message":{"text":"openExternal (cognitive 24): openExternal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 10, error handling 1, ternaries 1 (nesting depth added 4). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b59baf10d67bea30fff22740ac57c11b3de1ea986e35eac4b0bfa278085254"}},{"ruleId":"D2","level":"warning","message":{"text":"mergeProfileManifest (cognitive 24): mergeProfileManifest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), other 8, ternaries 3, loops 2 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 2 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"e069191b50a67e1eb863f07dae4f943244751dbfb7f20477992cda8c86c49ace"}},{"ruleId":"D2","level":"warning","message":{"text":"mergeProfileManifest (cognitive 24): mergeProfileManifest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), other 8, ternaries 3, loops 2 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 2 belong to 8 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"937e160cf69d16690038fd88a1914966ad190312960903535621cfae590b6ab6"}},{"ruleId":"D2","level":"warning","message":{"text":"probeHttp (cognitive 24): probeHttp has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (9 pts), other 6, boolean chains 3, error handling 3, ternaries 1 (2 pts), loops 1 (nesting depth added 2). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f34bf240d1d7414ca7c5bc9e500b9d03e4b47dbbb3563b1534a3ceaa9d5bad"}},{"ruleId":"D2","level":"warning","message":{"text":"parseScutilProxy (cognitive 24): parseScutilProxy has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, ternaries 2 (4 pts), loops 2, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edae236054bb8f2139398633612a11dff49d09bdb2b86669747311a3da9765d"}},{"ruleId":"D2","level":"warning","message":{"text":"createSshBackend.connect (cognitive 24): createSshBackend.connect has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (12 pts), error handling 4 (6 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 59, (anonymous)::(anonymous)::finish, (anonymous)::(anonymous)::hostVerifier, \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":"src/ssh.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bebab2a9802ad77fd32796e7bd86a3ad5b8e8c4992c7d65a558fb41a089d798"}},{"ruleId":"D2","level":"warning","message":{"text":"tokens (cognitive 24): tokens has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"32930db725e916749c8cc823ca22ab999bb20cfd75148121d35098f77638ffd0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.refreshLaunchLog (cognitive 23): index.html.refreshLaunchLog has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 5 (7 pts), boolean chains 4, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8673}}}],"partialFingerprints":{"codehealthFindingId/v1":"9735d1b2b507343006d64e93095a03100a1e6d53ad354a0aeb99efe885589239"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.openLaunchEditor (cognitive 23): index.html.openLaunchEditor has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (8 pts), ternaries 1 (nesting depth added 1). Of this number, 21 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9659}}}],"partialFingerprints":{"codehealthFindingId/v1":"6643db117f25eff2af0412b1dedcbaf19b3d7804ca824a957ec040c9253bfc9d"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeDiagnostics.beforeUnload (cognitive 23): RuntimeDiagnostics.beforeUnload has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ba143e933a5d5a166918fda090c7d87819792a7325992395ab5c78f679ac0e"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.listSkills (cognitive 23): skills.listSkills has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d6f8cd970d13d3a38b1f1e0e0167821bd5a9def5453559e10e71552b9f978c"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.previewSkillFiles (cognitive 23): skills.previewSkillFiles has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 7, loops 2, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f062957b836d48bf546e59f687bd184b8cf1f99fc13171c9585e8a2ac5db46ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh-config.parseConfigFile (cognitive 23): ssh-config.parseConfigFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (8 pts), boolean chains 3, error handling 1 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30d91216094a0827600413ff9e96d6e9545ca49387478b2154624298876eb44"}},{"ruleId":"D2","level":"warning","message":{"text":"server.scanNodeModules (cognitive 23): server.scanNodeModules has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (28 pts), loops 6 (12 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (server.scanNodeModules::virtual) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb009a8f9dbbeeed0504a484737637cb8aedc2c9b869cb46acf82d2b479af996"}},{"ruleId":"D2","level":"warning","message":{"text":"server.downloadToFile (cognitive 23): server.downloadToFile has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (2 pts), ternaries 2 (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":"src/server.js"},"region":{"startLine":7043}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcc3b382a973a2b02f34d41ac702a20a5c6e237e416a4af2097adbd95924fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"resolveCommandPath (cognitive 23): resolveCommandPath has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), boolean chains 3, loops 2 (3 pts), other 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76af9db2d4f5aa02e929edf4f6ca5ef4176eda5ff636d106e0dcc65ae22a500"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.executeRepair (cognitive 22): index.html.executeRepair has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, loops 2 (4 pts), ternaries 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":4188}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f528873200e5761edbd0aa37b1ef0f4890d84c02157f4abd4b639c3bcbef74"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.refreshLaunchHomeProfiles (cognitive 22): index.html.refreshLaunchHomeProfiles has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (8 pts), ternaries 1 (3 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5287}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c2dcbd4bd12dca8f2db512058ea3c0cab9a3a4ee56f28357d77978e3f888d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.renderConnectionProgress (cognitive 22): index.html.renderConnectionProgress has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 5 (7 pts), ternaries 2 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab5f26bed8d0f0107d87c07edd9a1ca72ef8dc7ae9aa600610e5110dc6ea257"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.showNodeRuntimeSettings (cognitive 22): index.html.showNodeRuntimeSettings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, ternaries 1 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":11253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c086829b5d38198e06b79a26542dac7b29d459647c7adef93c1340c36a522bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-tabs.arrange (cognitive 22): internal-tabs.arrange has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3 (4 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5c4295e099a1258a854358de4d6b354898ac1741a89c528859e23e78f12b94"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-dependencies.dependencyOrigins (cognitive 22): repair-dependencies.dependencyOrigins has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, if/else 3 (7 pts), loops 2 (3 pts) (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf9a7f03c97a9724faabeccd2efade231932ccf47491f033acaa2aab6ee0a80"}},{"ruleId":"D2","level":"warning","message":{"text":"startup-diagnosis.parseSkippedBundles (cognitive 22): startup-diagnosis.parseSkippedBundles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 4, error handling 1 (2 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"70077348edb483b1268a0975dd95fbbbf692dbd7864fa9eeca3868d2b98b47fe"}},{"ruleId":"D2","level":"warning","message":{"text":"server.downloadSelfUpdateOnce (cognitive 22): server.downloadSelfUpdateOnce has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 3, ternaries 2 (3 pts), error handling 1 (2 pts), loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3c6e1c34ebf271ee9bc6f9f954dd4864575ff72b9a432814a86818b96b50ed"}},{"ruleId":"D2","level":"warning","message":{"text":"server.setInstancePortNow (cognitive 22): server.setInstancePortNow has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 5 (6 pts), if/else 5, error handling 1, loops 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b221212daf97bef2e6fc03d11b76089037b924ffdb8eb6951380d2b1750206c9"}},{"ruleId":"D2","level":"warning","message":{"text":"presentInstance (cognitive 22): presentInstance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, error handling 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/instance-views.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b8ced698cc4e79f5db6ded6115833040eba16eb01c7a942512563aa18f037"}},{"ruleId":"D2","level":"warning","message":{"text":"zipfile.readZipIndex (cognitive 21): zipfile.readZipIndex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a719902f4ffad29a2f12a76cf8dc0fd5bd397bcf004c9166a05439ebee2f5f5"}},{"ruleId":"D2","level":"warning","message":{"text":"zipfile.readZipIndex (cognitive 21): zipfile.readZipIndex has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"09239ba01dbabd1f06d78813edc0d3202c17a1d3f8de0c1dee52fcb726051ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop.parseDialog (cognitive 21): desktop.parseDialog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 3 (6 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/desktop.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"694eaedad0088b5d7b363faab5d02387b6d36e16caa3b3c4ed4d7905993afe8b"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-pack.tarballFiles (cognitive 21): environment-pack.tarballFiles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8840a85c8d31e94f63ea146e3acc9be06efc286b576f674c115fcb8bebbfadd"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.parseMcpCommand (cognitive 21): mcp.parseMcpCommand has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 4, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b404dc71f16f88d7d70fef3f87e98fe0bec22a61d4e25eee2ccfac4aae758a15"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.scanBlocks (cognitive 21): mcp.scanBlocks has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 2 (4 pts), boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"93efff3ad958186e39335e278ebff2e8c0afe93f869dc00f1e41df872ef616df"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.diagnosisText (cognitive 21): index.html.diagnosisText has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3 (6 pts), boolean chains 2, ternaries 2 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7698d5ce8dd8b4b0007a2e3a504378c8685f78be4609a372d697e229776567"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeDiagnostics.earlyImportSnapshot (cognitive 21): RuntimeDiagnostics.earlyImportSnapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96c0ab97817feb16c6868e2e988efe95776f7d3f5da7fc7258ec0d504e52e77"}},{"ruleId":"D2","level":"warning","message":{"text":"server.normalizeMarketEntry (cognitive 21): server.normalizeMarketEntry has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 21. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad46c25a2e7ba5637a62fc1d1b583d08ce19381478b304b0083b29c0e1985684"}},{"ruleId":"D2","level":"warning","message":{"text":"runSyncJob (cognitive 21): runSyncJob has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 4 (7 pts), if/else 5, boolean chains 3, error handling 2 (3 pts), other 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35ea3fbbd80b4a701cad8bcf970d0bc3b530e23dec2cb6d16e9c6ff961104fa"}},{"ruleId":"D2","level":"warning","message":{"text":"openPackSource (cognitive 21): openPackSource has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 4 (6 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4369267a87f529ec4f38ee349a67167a75e35854fba8332a14678e164adbe6"}},{"ruleId":"D2","level":"warning","message":{"text":"stopAll (cognitive 21): stopAll has cognitive complexity 21 (threshold 15). Drivers by points: error handling 3 (8 pts), if/else 6 (8 pts), loops 4 (5 pts) (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 2 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11831}}}],"partialFingerprints":{"codehealthFindingId/v1":"868ee07ffe7d53a942eec80f00e93dafda90d9a9d4225d99342a929ca8ed2b00"}},{"ruleId":"D2","level":"warning","message":{"text":"safeS3Config (cognitive 21): safeS3Config has cognitive complexity 21 (threshold 15). Drivers by points: other 7, boolean chains 5, ternaries 5, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb861ee074ceb9981364f18c6ec8a6d39eb84265e4539b29ebb14045d8a95f7"}},{"ruleId":"D2","level":"warning","message":{"text":"safeS3Config (cognitive 21): safeS3Config has cognitive complexity 21 (threshold 15). Drivers by points: other 7, boolean chains 5, ternaries 5, if/else 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2203a028a19d75d79cb6c8c6e6efd5b9baaf8db89bbbd6f5d30cb69db25aeec7"}},{"ruleId":"D2","level":"warning","message":{"text":"apply (cognitive 21): apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (5 pts), ternaries 3 (4 pts), loops 1 (nesting depth added 6). None of this is in the body itself: all 21 points belong to 7 function items inside it that branch (handler, handler, a function literal at line 247, \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":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc4854274a8f2e9b28e639be7ceeb8342e08a9aaa54f0d449924961f708ff98"}},{"ruleId":"D2","level":"warning","message":{"text":"version.cmpPre (cognitive 20): version.cmpPre has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/version.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6e8da93671bc3071130ed03f1592e5ad1d4d524d2e5292a0b196f2de6e0d05"}},{"ruleId":"D2","level":"warning","message":{"text":"version.cmpPre (cognitive 20): version.cmpPre has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/version.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"355834bebe2bbbfafe2e2dbdde0cbc3ac638174377df4c5fd82a67f2d6588efd"}},{"ruleId":"D2","level":"warning","message":{"text":"settings.migrateLegacyWslPresets.presets (cognitive 20): settings.migrateLegacyWslPresets.presets has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 6 (7 pts), ternaries 2, error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c25c9f3935173911b28fd0d793f69c4f36c4619c19c4dd6dc55030e6d3789d6"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.openProfilePicker (cognitive 20): index.html.openProfilePicker has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (8 pts), ternaries 2 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d790af0c371d298880e7051b5a74ba9ebc7212604587d72bb69b5d5d759f2741"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.compareVersion::comparePre (cognitive 20): index.html.compareVersion::comparePre has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (index.html.compareVersion) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f5209bc2bbdc11a7617ab0cb2b03c93c6a5829ef2be19440aff7d50b00af8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.applySelfUpdate (cognitive 20): index.html.applySelfUpdate has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, if/else 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdf61fc912cb233c932faa217098e0205d2ae1df2961a3ddfb5bca8743a037b"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-tabs.document.addEventListener(\u0022pointermove\u0022) (cognitive 20): internal-tabs.document.addEventListener(\u0022pointermove\u0022) has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ca8d6410127ffe59affc63dfeacef8727c6d20155d9ab9d47906cc2fad3ed"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.parseInstallProgress (cognitive 20): registry.parseInstallProgress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9b5e602170ee7bc62eecc4f74ace9a37215472ebd6b51e5a86d16a0c6f260d"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-evidence.waitingServiceEvidence (cognitive 20): repair-evidence.waitingServiceEvidence has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (10 pts), boolean chains 4, if/else 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"926e1833461f9b30ff90471091d26cdfbb35260e5afb2da8b329a4e6656438fc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.refreshShortcuts (cognitive 20): server.refreshShortcuts has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), error handling 5, loops 1 (nesting depth added 1). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c24f17f3e703976cbaa08211db886a8cdac93ee0024c7f8b0af116a7835de4"}},{"ruleId":"D2","level":"warning","message":{"text":"stringRecord (cognitive 20): stringRecord has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts), other 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"34811e15f1b569d23e761082e4dbc2995677e2042a7b113416c9c393341cb210"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.scanSkillRoot (cognitive 19): selfcheck.scanSkillRoot has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 5, ternaries 1 (2 pts), error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"796d29244d2d7e3613bd0420e98709ec26bd7398988de0b059e9bb2d74537e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.normalizePluginList (cognitive 19): environments.normalizePluginList has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 3 (5 pts), error handling 2 (4 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d38a1e34c88ce6320c09c1c731610d864ccd6131eabe5266221fe7ce59f9a98"}},{"ruleId":"D2","level":"warning","message":{"text":"diagnostic-repair.packageFingerprint::visit (cognitive 19): diagnostic-repair.packageFingerprint::visit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/diagnostic-repair.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb065742ca804f0db6fd4f8ee48a44c455743add692292967704330a0c9c5ec0"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.versionRootEl.addEventListener(\u0022keydown\u0022) (cognitive 19): index.html.versionRootEl.addEventListener(\u0022keydown\u0022) has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b72f6b8f6f264ded3bc72439190a794722019c2c2f8b1e1431343d29a7d5bab"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.createUiSelect (cognitive 19): index.html.createUiSelect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 19 points belong to 3 function items inside it that branch (a function literal at line 3316, label, a function literal at line 3315). 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":"src/public/index.html"},"region":{"startLine":3284}}}],"partialFingerprints":{"codehealthFindingId/v1":"678d21f0fe0e2304e4cfc9e0cf5806d8d0c6366bdee5155509877a05c481392c"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.diagnosisIssueRows (cognitive 19): index.html.diagnosisIssueRows has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 3 (5 pts), loops 3, if/else 2 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8418}}}],"partialFingerprints":{"codehealthFindingId/v1":"072270ff72d9da0f7690dcfafcb02e975a078ffefda6a30292e1c9ae1ed2f210"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.checkVersions (cognitive 19): index.html.checkVersions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 2, error handling 1 (nesting depth added 2). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":9324}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08dcacd68b2573333e78df97109b408215610e36074f243d5b38a0d20743db"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.startSelfUpdate (cognitive 19): index.html.startSelfUpdate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10593}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ccd5297d56f880f178aeca1acccccf3f53f20036871f197a4b69d8cddebcfa"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.restartEnvironment (cognitive 19): index.html.restartEnvironment has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (6 pts), if/else 3 (4 pts), error handling 1, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":12095}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea6c812af4ea842d48d98a64c5faa1bcebaa6e3df4b0914f2022a2085071d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"internal-tabs.document.addEventListener(\u0022keydown\u0022) (cognitive 19): internal-tabs.document.addEventListener(\u0022keydown\u0022) has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 2 (5 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a427e85c0ac9d69b42e7da4a3ca7c1defecf72a3691ac895421da19d3ae9ca7"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.parseSkillGithub (cognitive 19): skills.parseSkillGithub has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (7 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c54067746901539cf0336d556521fabea0f3cec99ea93360551627b4021265"}},{"ruleId":"D2","level":"warning","message":{"text":"server.packsPayload (cognitive 19): server.packsPayload has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, ternaries 3 (6 pts), if/else 3 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6874}}}],"partialFingerprints":{"codehealthFindingId/v1":"5489ab5aedafdcb0ce999d42c820256f036c6eced3ec8c0a7512e993d79aaf7c"}},{"ruleId":"D2","level":"warning","message":{"text":"server.packPluginSelection (cognitive 19): server.packPluginSelection has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (5 pts), loops 2 (5 pts) (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5caa720f3a7f11c4742333515c623754abfa6ac2a7c0d77f5fbcf89ef8bdc4"}},{"ruleId":"D2","level":"warning","message":{"text":"server.marketEntries (cognitive 19): server.marketEntries has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (9 pts), boolean chains 4, if/else 2 (3 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3c79b3aa59f0a06a7e3e2696205bfb820e7f0d5196f981290e431702f4bc7e"}},{"ruleId":"D2","level":"warning","message":{"text":"server.rebaseLocalDeps (cognitive 19): server.rebaseLocalDeps has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 2 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8846}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b899b1b223c97b06b281a7a3958e9d9a1635bc641def043a1fee3de1863a6"}},{"ruleId":"D2","level":"warning","message":{"text":"start.main (cognitive 19): start.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/start.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ce2e1d0a033db4d424936989ba0a80f2a5e7f047b8f97ceddcfaea41bd4362"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.pageWait (cognitive 19): factory.pageWait has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"41440b04caa02745142aa2d7ea22fdcb54481c9fb9f1ea8515cc4189cc81b888"}},{"ruleId":"D2","level":"warning","message":{"text":"parseArgs (cognitive 19): parseArgs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, loops 1, other 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3f1c3a536b3972196186db52ec615e85648bb9c5975b97305e7ecaf34a833d"}},{"ruleId":"D2","level":"warning","message":{"text":"listMcpServers (cognitive 19): listMcpServers has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, ternaries 6, error handling 1, if/else 1. Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 270). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe353d2f51ff606ced8a1b14d0767d83dfa9cbbb3991e56cab8d2295f02a0f1"}},{"ruleId":"D2","level":"warning","message":{"text":"createStdioInspector (cognitive 19): createStdioInspector has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 4 (5 pts), ternaries 3 (4 pts), loops 2, boolean chains 1 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 11 function items inside it that branch (a function literal at line 509, a function literal at line 535, failAll, \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":"src/mcp.js"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f5fc6ec19874c2862ccb42bc9a42763c414c574c53fb8d7cce0287039fb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"recordedChanges (cognitive 19): recordedChanges has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b093ffa4a0ba2ef876f55b46f12ddfe8bd9cd336093e722179ac3245163a6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"action (cognitive 19): action has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1, other 1 (nesting depth added 7). 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":"shell/tabs.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4060e93d1d32cc043925304b82aab2c91bad28f5925ee1f70653ed2ed0fe9503"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceViews.transferView (cognitive 18): InstanceViews.transferView has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 5, error handling 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/instance-views.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5fda2fab9043564d01c1aee07460199e649e9b75dcdca56a9a6f318fe822f0"}},{"ruleId":"D2","level":"warning","message":{"text":"tab-detach.tabDropTarget (cognitive 18): tab-detach.tabDropTarget has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, ternaries 1 (2 pts), loops 1 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd7a1d5d110233535426c0393ca6d7b1319df1f2cf2099148bdbac204a93e5f"}},{"ruleId":"D2","level":"warning","message":{"text":"selfcheck.renderHuman (cognitive 18): selfcheck.renderHuman has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 5 (6 pts) (nesting depth added 6). Of this number, 9 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4cc6a7a309933fdf00ad37b160493630982161528cbc46dcc2643241c30ecd"}},{"ruleId":"D2","level":"warning","message":{"text":"session-events.load (cognitive 18): session-events.load has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/session-events.mjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d45c7ecc52c298098cec07020028337216c13313db17c8c72901c03c09ff7b5"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.linkPresets (cognitive 18): environments.linkPresets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 2 (nesting depth added 2). None of this is in the body itself: all 18 points belong to 5 function items inside it that branch (a function literal at line 716, a function literal at line 712, a function literal at line 709, \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":"src/environments.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7d8ee751cbaab886751599d389fad7d5b349a86763bd869b66b66c079e3704"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.proxyFetch (cognitive 18): proxy.proxyFetch has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc76a65b70174fda245832882fd850ed3ca9e2bf7d168907663d55ab4b4afea0"}},{"ruleId":"D2","level":"warning","message":{"text":"plugins.setPluginEnabled (cognitive 18): plugins.setPluginEnabled has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e443a25ec1aab348c5d9c15dab8a4a0e250f4ebfe616288a156b8fc716fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.listMcpServers.servers (cognitive 18): mcp.listMcpServers.servers has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, ternaries 6, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9aec1a76c25d8c29a18092880b3fb89eff9f618267e35141c5415cbedfa1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"booting.html.render (cognitive 18): booting.html.render has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/booting.html"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c4337e5857fb1cc031f236a3baf531683569a564d022a28ef2909914eb2f73"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.updateToLatest (cognitive 18): index.html.updateToLatest has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, error handling 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92b7462a848a186167514c96a13508d761c9f8a4a20641f6b26ac2a0723b8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.startShellUpdate (cognitive 18): index.html.startShellUpdate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10632}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f922b1284ce507477be8db746fd7ad4763131b27b000a3ef37157d6850ec52"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.installSkillPackages (cognitive 18): skills.installSkillPackages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4 (6 pts), boolean chains 3, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2bb319c69305ae46af06e73b20645140c4bfbc7b60c23df1f2fc8d7ce2158f"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh-config.queryOpenSsh (cognitive 18): ssh-config.queryOpenSsh has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, loops 2 (3 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"239637911dd4873bcde7b5e265ec3f2955dcf94e156ceb3d5ad57ec856473c28"}},{"ruleId":"D2","level":"warning","message":{"text":"server.presetScope (cognitive 18): server.presetScope has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (6 pts), if/else 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f381de6679f0f2b779ecef1e3eb0cbd351bd7264a6c6e9d40bb16bee0ec6b"}},{"ruleId":"D2","level":"warning","message":{"text":"server.trayLaunches (cognitive 18): server.trayLaunches has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 3 (5 pts), ternaries 4, loops 2 (nesting depth added 2). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 2455, 2472, 2459, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f1ad7d108f9a639e03cfe5c2de903c67b0289cf8ed287045db19cb44d517b2"}},{"ruleId":"D2","level":"warning","message":{"text":"server.exportDependency (cognitive 18): server.exportDependency has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4000}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2bf6aa8e536ab7ce61db5de33b4817eb5f577dd0abfd1d7af2f039d515d350"}},{"ruleId":"D2","level":"warning","message":{"text":"startTabDrag::update (cognitive 18): startTabDrag::update has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 4, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acd0f34e21fa56040f265e8d7267343f88b152003b3a12eb6c04982ae8ad1b0"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.pagePress (cognitive 18): factory.pagePress has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, error handling 1 (2 pts), if/else 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"358d300289f408646edce86cdafc1984da5ad57547c115e3dba4559dfd84945a"}},{"ruleId":"D2","level":"warning","message":{"text":"createWslBackend.resolveIdentity (cognitive 18): createWslBackend.resolveIdentity has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, error handling 1, other 1 (nesting depth added 1). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 342, 369). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eb93e6799abc9db79c0ece198af54b563f6769cb8617d282a445f04084ea14"}},{"ruleId":"D2","level":"warning","message":{"text":"normalizeReconnect (cognitive 18): normalizeReconnect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"524da158fbf47dd9c010bf9777d55a79971e2289d2efba39b6abb69c3d8a3a77"}},{"ruleId":"D2","level":"warning","message":{"text":"downloadCoreTarball (cognitive 18): downloadCoreTarball has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core-npm.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"226e82f22ffe403ab230a5597e4037f9b3d042d29ed63f318ca48a34626f85e5"}},{"ruleId":"D2","level":"warning","message":{"text":"detach (cognitive 18): detach has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, error handling 1, other 1, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cddad2f9964864e091970cef2cb5ab683d0bca391c30e8edfa02c21fe3e253a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.describeSummary (cognitive 17): index.describeSummary has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (11 pts), boolean chains 3, if/else 3 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73c99f6c52c11a97eb21d35d80b398c26f36080766ec71869a305ce794f8263"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceViews.follow (cognitive 17): InstanceViews.follow has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/instance-views.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebe0e045e68cc6cef647312e2187d6025051d526d5f065994ae87fd662b4e10"}},{"ruleId":"D2","level":"warning","message":{"text":"BrowserTabs.present (cognitive 17): BrowserTabs.present has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tabs.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae070ea28f825cf90164410c9312de2721ba951c0e5a34aef58c45473ff5819"}},{"ruleId":"D2","level":"warning","message":{"text":"main.installPermissionHandlers (cognitive 17): main.installPermissionHandlers has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 6, if/else 3 (nesting depth added 2). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 1534). 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":"shell/main.mjs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"622ce6fd57bffb94376cf670df3a531a1b69dc1aef11e24c264fac9cc54a105e"}},{"ruleId":"D2","level":"warning","message":{"text":"environments.recordPackSources (cognitive 17): environments.recordPackSources has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca980b574fb004ef356342fe6ec295c9962611d66deed8199869a2875498f455"}},{"ruleId":"D2","level":"warning","message":{"text":"environments-page.updateReportHtml (cognitive 17): environments-page.updateReportHtml has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, loops 5, if/else 4, ternaries 1. Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8668bac76ec79308f9c32b25da3391d9b80b51331c3363fa03c1dbbbcaf4a6a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.transitionDialog (cognitive 17): index.html.transitionDialog has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 4 (6 pts), if/else 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e193f7fb27a77879b9458f5165e11bd8cbd6ba1c3f1af9bc54282cbb9eb0042a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.diagnosisAdviceLines (cognitive 17): index.html.diagnosisAdviceLines has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3709}}}],"partialFingerprints":{"codehealthFindingId/v1":"a663d143c4122139fb5faec83e6734616ccbc3675b6c15786fd1a075163f5c65"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintProjectDevices (cognitive 17): index.html.paintProjectDevices has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 3, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5994}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b145868fa68540ac27fff7041df7e90af82f56a5e8b5b0e3dc22cc77b093e09"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.describePackProgress (cognitive 17): index.html.describePackProgress has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":13231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9291eec3f00ffc4bdc31fbb56cd337c4044a094915b1fc74f496b9182c24a47b"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.fetchToFile (cognitive 17): registry.fetchToFile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0936f670115c242cd0fd632de7cc1ec825f83869fa3c91e3e64e0bea882bc673"}},{"ruleId":"D2","level":"warning","message":{"text":"repair-dependencies.installedPackageState::scan (cognitive 17): repair-dependencies.installedPackageState::scan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d036d1f3f432b709a67650611db174ab798076e51157ca9c5091efc6db2e567a"}},{"ruleId":"D2","level":"warning","message":{"text":"ssh-core.ensureRemoteNode (cognitive 17): ssh-core.ensureRemoteNode has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (8 pts) (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59f929714154037c4077189e21e3809be760b867f47c20f1218ab691fde1dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"server.upgradeEnvironmentPluginsNow (cognitive 17): server.upgradeEnvironmentPluginsNow has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts), loops 2 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a0bd9939b8e55dea6bab74b74c75a4b864c26f171b3da85d8fd9568c7d9e4f"}},{"ruleId":"D2","level":"warning","message":{"text":"server.releaseFeed (cognitive 17): server.releaseFeed has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (5 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f257a5276cd4dd2e9b9678a08be6326e536ac7b588c64c2d20bf95c8e8389a"}},{"ruleId":"D2","level":"warning","message":{"text":"pruneVersions (cognitive 17): pruneVersions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (4 pts), loops 2 (3 pts), error handling 1 (2 pts), other 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d2992b0b03e96b29240dcb60c6778220a6fa7460019e0585e8309440b6f25e"}},{"ruleId":"D2","level":"warning","message":{"text":"instanceInfo (cognitive 17): instanceInfo has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, ternaries 5, other 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4f89dd72175fff5a640fbbb8216a78ce03b99cd83a1c2e6488391c8babc469"}},{"ruleId":"D2","level":"warning","message":{"text":"list (cognitive 17): list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aac84f0837a183ea8f380f74961d1bba45bf019a0ddefd7e8bd065018c6529"}},{"ruleId":"D2","level":"warning","message":{"text":"list (cognitive 17): list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), boolean chains 1, other 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcfd1eee259dd485562c614f53851be9cccdbca7031a1956e446830cf805927d"}},{"ruleId":"D2","level":"warning","message":{"text":"factory.pageType (cognitive 17): factory.pageType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff860834d88b500bcce2b3aff82353e947213dc0bef765a4a5e1ccd47a9ff34a"}},{"ruleId":"D2","level":"warning","message":{"text":"installSpecs (cognitive 17): installSpecs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6f829bef5c102a53a8d930db0a5e8a25fdbd951148a180b928862849ff83da"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.scanLocal (cognitive 16): sync.scanLocal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), error handling 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816eab6b7900f42538996cdd86f04673e6633d46955809d980f2c994773804b"}},{"ruleId":"D2","level":"warning","message":{"text":"main.showTabMenu (cognitive 16): main.showTabMenu has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dcfd8dcd6885eaac6e8b335559a1ac53c8684ce0127e8d8092b651c7f90fa9"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.scanLocal (cognitive 16): sync.scanLocal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (6 pts), error handling 1 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e0df30232d70f6a2a48f76abb7270710852ff9b909d5b5e7c5d92d197ade35"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.followRedirects (cognitive 16): proxy.followRedirects has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 5, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"809bb9e02e443178cb2bda79fa43eeba05d21b4bb8fab44a1af9f7a6402b32d4"}},{"ruleId":"D2","level":"warning","message":{"text":"environment-upstream.upstreamUpdateReport (cognitive 16): environment-upstream.upstreamUpdateReport has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-upstream.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c00e04482f2eb0ba2ce1c9c46742888ac8331c689e726f673cafa2d8126b29"}},{"ruleId":"D2","level":"warning","message":{"text":"pre-update.checkPluginCompatibility (cognitive 16): pre-update.checkPluginCompatibility has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, error handling 2 (3 pts), loops 1 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pre-update.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b282cbba694818932340b6dafa980f28e92ec061c1b3e55192c1a05cfe1e2e61"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.recordedChangeText (cognitive 16): index.html.recordedChangeText has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 1 (2 pts) (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"15dda551560af0b7ce3d7b04f1d055454ce0d71fd8b85258a60231f57579250d"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.refreshWslProfiles (cognitive 16): index.html.refreshWslProfiles has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (6 pts), error handling 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":5095}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2deee6b563baca5178e72adb8f0316eab7368ee8afcd25dd2f6bf0004267ee"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.launchGuideDirListEl.addEventListener(\u0022click\u0022) (cognitive 16): index.html.launchGuideDirListEl.addEventListener(\u0022click\u0022) has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 6827). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6814}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af966bae681fd414aff9c282f1b35c5c6aa811fd05f25bad5ea291f972b1830"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintLaunchEnvTrigger (cognitive 16): index.html.paintLaunchEnvTrigger has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 6, if/else 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51c2e9d832196e19b9f5540e1201234b21122421b8190c77063c2a17db4494a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.paintPickerProfiles (cognitive 16): index.html.paintPickerProfiles has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (4 pts), loops 3, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":7322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2144e64c9535e429fd3efb1928b12bbee1fb9dcf6c6ef152ded3b30c8eeda3f2"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.compareVersion (cognitive 16): index.html.compareVersion has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (17 pts), if/else 10 (16 pts), boolean chains 5, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (index.html.compareVersion::comparePre) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8111}}}],"partialFingerprints":{"codehealthFindingId/v1":"334e397d46e076691477a84bc3cf7c5c8fa320c7d8bca0bfa923c10d39e0785e"}},{"ruleId":"D2","level":"warning","message":{"text":"index.html.skillInspectEl.onclick (cognitive 16): index.html.skillInspectEl.onclick has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":13619}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecfe555cedd87c872da60a828fcd7994e544824f974b0c0fe9ee996cb92c236"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.installSpec (cognitive 16): registry.installSpec has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 1. None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 526, 498). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23439a1f6bd45406742b1f946a0f06004fdc896cfdccfe91323462733011c61"}},{"ruleId":"D2","level":"warning","message":{"text":"wsl.parseWslDistroList (cognitive 16): wsl.parseWslDistroList has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fddd1546eeafb3524f31dea590c2dccbafc0207561d4e9e12b6e77191534505"}},{"ruleId":"D2","level":"warning","message":{"text":"wsl.readWslProfile (cognitive 16): wsl.readWslProfile has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 2, error handling 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ab1f2db4c77b1f2bd7775d48fb4735751020b1801b14add60ef21be74bb2ac"}},{"ruleId":"D2","level":"warning","message":{"text":"server.scanNodeModules::virtual (cognitive 16): server.scanNodeModules::virtual has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (server.scanNodeModules) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"483701a1e34d0ba35b64ceb5da9beea9884cd6e3c8e8a5027860fc1d98d48564"}},{"ruleId":"D2","level":"warning","message":{"text":"server.fetchLatestTag (cognitive 16): server.fetchLatestTag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (4 pts), loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6016}}}],"partialFingerprints":{"codehealthFindingId/v1":"3795ec3b66a42756c492ce8ab3f4186ec8f7f0bc0488db1e730afd9cfa1b491c"}},{"ruleId":"D2","level":"warning","message":{"text":"server.latestRemoteFor (cognitive 16): server.latestRemoteFor has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, loops 3, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ce67380d4701b030a1bc36d4883b4c618e997ff8e6c2cc38c475c5d1ccce89"}},{"ruleId":"D2","level":"warning","message":{"text":"server.checkWebPage (cognitive 16): server.checkWebPage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (5 pts), loops 2 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7678}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d06bcaf3153a5369ef7157a2083c4dfa5b0786d53a84fe7a1a696fdc537ce21"}},{"ruleId":"D2","level":"warning","message":{"text":"server.remoteCoreForTarget (cognitive 16): server.remoteCoreForTarget has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8086}}}],"partialFingerprints":{"codehealthFindingId/v1":"620811e4883473c90a73df90ebe13779cbaef4702b3961cbda7682ea73cb225b"}},{"ruleId":"D2","level":"warning","message":{"text":"publicFailure (cognitive 16): publicFailure has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (7 pts), if/else 4, boolean chains 3, other 2 (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69c7331f26758ca0ea0b531a306a51608c00bf51a16633c50969ff8eac035a3"}},{"ruleId":"D2","level":"warning","message":{"text":"killTree (cognitive 16): killTree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), error handling 3 (5 pts), ternaries 3 (5 pts) (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 6 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7390}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6396ede554119c807399a9edc3cf94455caf5b62674f1a75849552769052ee"}},{"ruleId":"D2","level":"warning","message":{"text":"safeRelPath (cognitive 16): safeRelPath has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, loops 1, other 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee97c11cc343b6068cfde7a2f0fee176edcb2f3da0e2595889860982bfc0109"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: public/index.html: FileTooLong \u2014 8377 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7877 over it, 16.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dae5c37d56d4ab7e620b0f59e077e1e78a2ab6487c72da192b2ba0d24d86cb3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/server.js: FileTooLong \u2014 8060 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 7560 over it, 16.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc31fc3f880b58dc2ad0860825c5aa7d6448a6bf365949fa8c49dac25aedce5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/selfcheck.mjs: FileTooLong \u2014 1427 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 927 over it, 2.85\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9c0f102399e9dbee82eeefaa0f35e55c7240ff527701dc59f367015c28a765"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.apply: FunctionTooLong \u2014 apply runs 281 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 181 over it, 2.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbdc3f98da01e46660f211ad81787033756270f54602c69b2f98a5560cb3170"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/sync.js: FileTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 814 over it, 2.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56c5eadbb1df2664678ade330e783b7cd0bfb73ad32d7b6c8ee45c50e6d6270"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/sync.js: FileTooLong \u2014 1314 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 814 over it, 2.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c52424d44441af38ab00299606ac4b3f6928abc59c6709767a36236af3034e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: repair-probe.main: FunctionTooLong \u2014 main runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-probe.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ebcaf852982caba57da05877619a57547a6c03e1f9eb914f2af17a6beec3d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shell/main.mjs: FileTooLong \u2014 1110 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 610 over it, 2.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4bf5e0a466ef5d3ae8943d22b4cdbf51272c9cf5cef0f087b9f7e022fa43a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ssh.createSshBackend: FunctionTooLong \u2014 createSshBackend runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"902efb022b6338316eab416503ac91af6c36e9e5487d83655fa6a04477cd801f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.createTools: FunctionTooLong \u2014 createTools runs 205 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 105 over it, 2.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fc141b36513358c82dd3727a6184e208723cca9f21766fedc4b68ec67b6d2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.apply: FunctionTooLong \u2014 apply runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f6ea4a8c0cbcdf121a5a04396771a04ee393935aa5d4ee7463d6239f3868ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/settings.js: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e002a33c05e561344f4f2ddd88196f949c87ce91acf0eba6d79124d9742729"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mascot-part.startMascot: FunctionTooLong \u2014 startMascot runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cd4df701c054814adb64d1cf9b7211789d383292c3bba38cdd09318f75c492"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: wsl.createWslBackend: FunctionTooLong \u2014 createWslBackend runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de2eddb6e74b63caafe2c30b4d1565733df877b27d3ea4f413f7d3ff22d36c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiagnosticRepairs.execute: MethodTooLong \u2014 execute runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"568eca95c28301151f0a7e66d8c9ff4a9df70b02ba161ff921a1518a01dd26fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.html.listenEvents: FunctionTooLong \u2014 listenEvents runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":10254}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a1ea7d72506f9b4e91f68fe429bd955fe32bd1231ed6e4139788bfcccd87c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.html.paintRemoteSettings: FunctionTooLong \u2014 paintRemoteSettings runs 130 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"595f6687a62e13a79d39565a20ed11b71d85832100d090a7e3f2016d356145ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/wsl.js: FileTooLong \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 135 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e487cfc8f3b27e11dd82fcd701d36ec777204d625c050f80ba3ec18173d5ac76"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: zipfile.writeZip: FunctionTooLong \u2014 writeZip runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"406ba787eb941f9d3cf48844f1d42a19d6b058ecbcf38a7f03ecf3c4720fec3d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: zipfile.writeZip: FunctionTooLong \u2014 writeZip runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1178414ec70c45efc34af4d9bd06fe2df07b859e259b3bda2469018ee9872e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/environments.js: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 95 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72555de0e553f3db5182fa88178003b9f5c511c2f53e5c76580c1099661b1321"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: launch-list.sortable: FunctionTooLong \u2014 sortable runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1f748e1efb38db4db3d9beee50f269ed4bba4c3ab3890d0626d958b30cc7b8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DiagnosticRepairs: ClassTooLong \u2014 454 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 54 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"370c2c16c5b34d33685e888120eeda443023906b1b309ee43db2e482e88d2545"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.runSync: FunctionTooLong \u2014 runSync runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa342b851712b8cc2b838ccb8a3129e030a587d3a40830e487b4a5a83fd70f2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.runSync: FunctionTooLong \u2014 runSync runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e898d6b1d6bdd7a0168b339b5fd577f3124e8d21f1af9622dc36b5bc3829d1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.apply: FunctionTooLong \u2014 apply runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"efade1fc35d13ee78509ef44596c76b880029020229b57f4df2d33549f65d71d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/mcp.js: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units). The bar is 500 significant lines; this is 31 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc6fc82798822e710035eb352095d1065c0a6e55a485f0a7780a02feed468d5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.html.renderRepairActionGroups: FunctionTooLong \u2014 renderRepairActionGroups runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":3965}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cfba0e154871af885585b1f68bdb58503788f65a12a0029c6a95a3b57f8e04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: startup-diagnosis.parseActivation: FunctionTooLong \u2014 parseActivation runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35736b97019836df072d77743c4b96d10e1bd2c9fbed15c065348824c490706"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DiagnosticRepairs.rollback: MethodTooLong \u2014 rollback runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8013e97303b13c64ba16264886c5b3b1e85f15e456894ef3510861af6cb9510e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/repair-actions.js: FileTooLong \u2014 510 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 89% of them inside a single declaration: DiagnosticRepairs (79-659). The bar is 500 significant lines; this is 10 over it, 1.02\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":"src/repair-actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d141c07e0675c355bbbfbb4640afd5ba10a60977bb8bafbdaa1482d364ef0a50"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FileManager (LCOM4 5): FileManager\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/filemanager-base.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a544ddd39cd9ae288923bf34152a5192ef8342418dcc4073ecc34d83effd5ab1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Node (LCOM4 4): Node\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/internal-tabs-dom.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3059c2c33bd1f5a12f558818a843fdab29814554ab7f312b5c7edb4cb7a694ca"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: \u5DF2\u5B58\u5728\u7684\u76EE\u5F55\u540C\u6837\u8981\u80FD\u5199\u624D\u7B97\u901A\u8FC7: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/writable-dir.test.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8fd3c12e3210a4208c6b7a1ae7844df4530eff9950d09735e4af6bc3edf48e"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 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":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: boolean: boolean 3.2.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\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":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"60506cf61a5955b000bad3921f6013f6bf94d17cc6a4999fdc8f0767e5cfeeba"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 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":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af59a68b703d1d09f733b4123d502871e54cb862646e84770d19bbb5c4c04c9"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: inflight: inflight 1.0.6 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.\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":2607}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f44f2d08ee8839d5172f941ab3bc1c660bb2257c3c3bd3354971f7072e14eb"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: lodash.isequal: lodash.isequal 4.5.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022This package is deprecated. Use require(\u0027node:util\u0027).isDeepStrictEqual instead.\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":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d267f11ad0d5ac531c90bc1afbe83e99b9ea44a98c2599a200ce02dbe6d2e45c"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: rimraf: rimraf 2.6.3 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Rimraf versions prior to v4 are no longer supported\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":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19ad8cb4391b735e04142442af28e60cbd91c2bb1f98ea175f4eb33e27294f"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 7.2.3 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":3511}}}],"partialFingerprints":{"codehealthFindingId/v1":"468387141acdf2205d118e7df44ead947c3b0a91c2c515c7217f83690dc3b0fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/server.js: src/server.js changed 168 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 756 in server.handleApi at line 9940. 25 of those changes were fix/bug commits, and the other 143 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9940}}}],"partialFingerprints":{"codehealthFindingId/v1":"b112a6240b13d5d154a9f7b4637e8b6cc90ba10f2a00450c1d9775870ae50fdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/public/index.html: src/public/index.html changed 165 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 137 in index.html.paintLaunchHome at line 8966. 18 of those changes were fix/bug commits, and the other 147 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/public/index.html\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/index.html"},"region":{"startLine":8966}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd7822a0d4ee3ab6faa494751253ae26ccfe0f2f0a91c6fc7e564793574cfdd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/settings.js: src/settings.js changed 69 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in settings.safeLaunchPresets at line 816. 6 of those changes were fix/bug commits, and the other 63 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/settings.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e3aec9aabc94b5b537c35f427753ea000729d6facbfdde9996b82743e79935"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shell/main.mjs: shell/main.mjs changed 40 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in main.start at line 594. 15 of those changes were fix/bug commits, and the other 25 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- shell/main.mjs\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":"shell/main.mjs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a663f3adb4678702811c424d2c60eefeda200261c5a4398b2f3912adaeb9cf3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shell/model.mjs: shell/model.mjs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in model.parseTabAction at line 205. 1 of those changes was a fix/bug commit, and the other 7 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- shell/model.mjs\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":"shell/model.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b1f91718d970bd159d7d3cf54de0927e26a88eda86c05d31c9638465171ffd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/public/mascot.js: src/public/mascot.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in mascot.tick at line 158. 1 of those changes was a fix/bug commit, and the other 12 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/public/mascot.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"359f3955d69d4fb87b419c6b64c3b7efb29b496a95c8259e3c6e0fe917e49041"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/registry.js: src/registry.js changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in registry.installSpec at line 485. 2 of those changes were fix/bug commits, and the other 18 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/registry.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4e3d3f0a1f44a4579d8bf8ec7c8c25ed1a2266203a5d47d2dcd349f283417f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/wsl.js: src/wsl.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in wsl.inspectWslDistro at line 553. 5 of those changes were fix/bug commits, and the other 7 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-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/wsl.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf165094d169d6a454f92f4ce180d0d5053e4a4b32f236f7aa733b266fd453"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/public/internal-tabs.js: src/public/internal-tabs.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in internal-tabs.updateInternalTabs at line 372. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/public/internal-tabs.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4c70208e93a54bb073e13ffd3f85727b4a58624ccd7154bba1f7d39443c0af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/perf/plugin-profile.mjs: src/perf/plugin-profile.mjs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in plugin-profile.summarize at line 112. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/perf/plugin-profile.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/perf/plugin-profile.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43c7a814467028a495acca26b7a9d9ae2955b61abfa81df0bd1dd6ff9ac5cf8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/sync.js: src/sync.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in sync.runSync at line 1822. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/sync.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c9474e08b5bb6b0b36990236f45144caf1ffcd01eb68643f4958c7253ffa70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/packs.js: src/packs.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in packs.applyInstall at line 493. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/packs.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"398b5e937ade3de6b77dd893d367e6e1b0891e8222968bd3b417f8055551fdba"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/public/environments-page.js: src/public/environments-page.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in environments-page.renderView at line 277. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/public/environments-page.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"d237473b204fbfac0a8a5fae9af78810ebb2bc4cda6e255fd0c8909b57e3441f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shell/updater.mjs: shell/updater.mjs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in updater.createUpdater at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- shell/updater.mjs\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":"shell/updater.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fba69b746754c1628078ff886a0ef9e949a71aab8e146c8cbf278c572684181"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/recovery.js: src/recovery.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in recovery.restoreProfileBackup at line 195. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/recovery.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recovery.js"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61457c863bdf23f21cdb47c76ee19ecd31fc22a519d077f15afc996305ac5d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/perf/patch-hooks.mjs: src/perf/patch-hooks.mjs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in patch-hooks.load at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/perf/patch-hooks.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/perf/patch-hooks.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e17b67df9276b2069f4f6b3a915afc1260321974a35fc53c020f9bb8365b6b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shell/tab-detach.mjs: shell/tab-detach.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TabDetacher.detach at line 120. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- shell/tab-detach.mjs\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":"shell/tab-detach.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bce733764ad37845c5b93d85b0e4832dd28f1de413897fc9ae9231cbb8c003b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/instance-link.js: src/instance-link.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in instance-link.createInstanceLink.server at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- src/instance-link.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/instance-link.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc316e69d676e697ebb8dd53ce945b3fad6be3a9ff37439dd1333ea94bf89db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docs/mascot.js: docs/mascot.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in mascot.tick at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- docs/mascot.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/mascot.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1a499d0dac227ff1f66c735463b1099c94965f167bf67e4d16676ca517eb5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: shell/instance-views.mjs: shell/instance-views.mjs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in InstanceViews.transferView at line 101. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-19..2026-11-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-19 18:31:49 \u002B08:00\u0027 --until=\u00272026-11-17 18:31:49 \u002B08:00\u0027 --full-history --no-merges -- shell/instance-views.mjs\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":"shell/instance-views.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5878087eeca652f33a1e61af28820683691a6d71de9c05362b000442887c5066"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: src/sync.js, src/public/launch-list.js, plugins/dsh-x-aquarium/lib/mascot-part.js, scripts/make-icons.py, src/compat/session-events.mjs, wallpaper/wallpaper.js, scripts/make-hero.py, src/perf/patch-hooks.mjs (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"acb3968f6e8a0d4b54ad523ddc71c26b16d526b272eec43e06a5a81ca499b2d2"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (12 single-owned of 102 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 102 of the 124 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: scripts/make-dmg-background.swift."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060package.json\u0060 makes this repository a deployable product (line 13)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f571cc2c2542badcf90ae46e31e24c43d9ca80090c40fca9fd1434a5c34546"}},{"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":"1f3e3a96386d3cf2a09fa1b2ee086568b14149ffbb176c4b92b8ecf6af2fa512"},"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":"a378eb575e3f20eca26f26f9af5fcfc839b4b37f9977c04073aa58942c61cd4f"},"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":"6fedd0693096624eed5a3fbde63889f6dcbfb993e3ee3e9da84f59c548f48b92"},"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":"3108b865bd7374cb1aac06587801c7058d8c186503f486190fb6b0ee32b9d29e"},"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":"9413d177ee3dfb094dc7ceb596e3a2705c4a851450d2130bbb4a0076070eb76d"},"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":"1341a4de14a7e49e0c6fff2c24ea8a884b4cbe35dbfd845f78dd4939618bff4e"},"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":"53953136733092481498825e35b0add2fc4ab8efe641f83f9816126811e58267"},"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":"db881e73c52138a6f7ff5ee50fe3521b5eaac3c9506cc29e6359b9deafcc2aac"},"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":"1c2af17648c5709aa518890d2f892626162841a8ad543380e5f577e4f5b62be4"},"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":"9d5ff8d2c967463f2a2855a271898624514d9de0e4e70e63fcd05f3dd1e583b9"},"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":"78f0c8809c3544bdde3c0c0fd5a3fd27a61c1626608ecac38a7b6254d1fb476d"},"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":"8206ef756a8fa8aa602c4880e7bcf108f281babc1454dada368997e26d7b69c9"},"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":"da9eac0b77a5c71dec0d02991b25c48d02366840c96d7c268259b3fec59c72e1"},"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":"2d344060610c3f78f345c793f6ba35bf55c98212e67a2c600f593cd361819a53"},"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":"d2adc7a41fd31559bde82c79fb3377f0331bba634a0b297b893a6b51f46d735e"},"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":"dbf38cef4cc927df9463426fb1237effd5ee2a057ea2dba1dd8e657179b90746"},"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":"46ed5088e372a1645841089d14aca0a25845741310820ce62e7cb1a6cd16763b"},"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":"29a123e5ded039aafc5f9608aaec5c5e039833e07d8997aa993c9ad344fa17f1"},"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":"e4cb465e1f0d2eae4c574d9bbda594dca37b461c20ca4391a9a1ab1fb76b76e5"},"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":"34f998d59eaff18b05f62f3ffd53eb1d86ddd758e021a3b06f3dd141181d69a1"},"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":"ba41e86a522fcd3278c24459b092ba1b8977bfa390cba6f557d3c367c4333166"},"taxa":[{"id":"CWE-1385","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-20","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":"f88b25f030650bec67ff780ba4cde1a71ea73dc21c0355d1a4fe75734458dd0b"},"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":"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":"8ee44807a5f2f976c17ff01f4ea6c3b6bf49b0278b2d0f4e7d1299376a6094b6"},"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":"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":"097855df43132bbb82d6f927c91531581a1a7db1d70d55befdd578878475f1ff"},"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":"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":"a7fbb3577b904c95bd7e89f8d80bc8fc13ec2ec99050ee67cdd2e3ff0adb762d"},"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":"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":"4bbd87114aa788c35469e5e8de316dd9c79f5e3b221dbfeb45ef4cd6a49fe675"},"taxa":[{"id":"CWE-310","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04: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":"8f7b633d6c06527dd2c67c8470eebb4baad5a0561b51141810bdfb694569c1e0"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"8f761bf3a7e755bab2a1ad13751e873e44d916b221c8376230d5084c4a22e55d"},"properties":{"dependency":{"package":"electron","version":"44.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"44.9.1","relation":"direct","declaredRange":"44.7.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"079c068bbc25a4bc28f959e26a2bc1419280b953408cfc6dc65a76b603d0adf3"},"properties":{"dependency":{"package":"electron","version":"44.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"44.9.1","relation":"direct","declaredRange":"44.7.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c557fc0ef24ba5e10477a3bb82340b8bfd60dc18c495e5e6a53b634734735f26"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","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":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","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":"7197721a4bc871723ceb4db897504c90f60eaa6df2e2e92a2a75d64e7fbad2cb"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6948fb42228d27b6637595c24723699e4f832f0b685c914a8336654a989c5164"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af444b92d31ce97c066049827c26994fe0d7632698d0113a6d0ca5bbc31c6a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d581ac62dba07ffa8903aa314602505f5959aefa6ff0dba512adf06459bea82"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":954}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d222f12ad5c6e74223cd6a340a7e4ae500dfd1ed7ba75b0fb6151195fdae2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf2540fa5a53f5f48477e1b10ae7b0165e7264f0ffba57833c6bdaf5dfe5c83"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac8a4c1dcb05a55cf89dabe7f38c23d0bb1eb9e02b96bfe9c63c4dbc8844700"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc53e415ff9a7b5ebd02d6e4010de364fc14492484988f6e930014d1c94d068"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69a583313c7d47546f80c32b36a3f9272899abd7ea1f720d18294a9d95b606e"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c868dfd8331f4e93ec7a38f71836668b42ed18c8b29d8710fc41cb22fb33b21c"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"de173ba4ee6d2c9dd1437f6fd509fd4d491956dabe767a59ef076826e62e9909"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d5d61b9039302b46004fa2aca045abc9a563a4186ca0d329b72ff222fc9d6b"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cac991ad842394ffc1ebc2c1c52ce4a7a5f8177f53bf52f1deaed1166dc903"}},{"ruleId":"AC3","level":"warning","message":{"text":"Empty \u003Ch1\u003E heading: An empty heading appears in the document outline announced with no text. Give the heading text, or remove it if it\u0027s decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/booting.html"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb3eab7b78db56a81ee01ccb95aa1d4e7f1643ebb7987a9c5a37fc926f65c0a"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot-preview.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeb76d56deee9a72897258b39f201878409304f0e99072e1b275dfd4973384e"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/tab-window.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"14afff39d4a6d7c3c3729960864cc4f6e5ad761c7bdb1c47dc635aa41306fe08"}},{"ruleId":"AC4","level":"warning","message":{"text":"Modal dialog does not manage focus: This \u003Cdiv role=\u0022dialog\u0022\u003E is a modal dialog, but focus is moved into it, but nothing keeps it there: Tab walks out to the page behind, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native \u003Cdialog\u003E opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a68ff5a740f4d84d0af14577c9c92839dcbe2a74df76315c2aaa8099f0bc19"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (1.1:1): \u0060body\u0060 sets color: #d5d9e1 on background-color: #d9eaf7 \u2014 1.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wallpaper/wallpaper.css"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"77da1db3e168d373021e0f425c7ae745e0b4ef1989666dd540b1805d437a7bcb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060.internal-tabs.has-tabs .brand-home:hover\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d25ed9444fc6d0531cdebb732f0b257b94c82d72e2a195cc7a95e0e4137107"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060.internal-tab:hover\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaa94e9637f564fc0ffe5e785fbe0b69b3cc828525ac9b86b0495ede69659ec"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.9:1): \u0060.launch-actions [data-stop-id], .instance-actions [data-stop-version]\u0060 sets color: #e5484d on background-color: #fff \u2014 3.9:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"54090eb06b4ebacd77e0b9d1c7e5e0093211e22ec2bf6e3fc4bd369a77f41a52"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.2:1): \u0060.launch-enhance-tip\u0060 sets color: #6b7d9c on background-color: #fff \u2014 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb89d9d021d39fb37dc5440b986c7aaca1f9032f96261c2f6cd8d6a27cbcc14b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.2:1): \u0060.profile-pick .profile-pick-tool\u0060 sets color: #6b7d9c on background-color: #fff \u2014 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c1c963ba4615ff6e9c6a993843f6c591ba92577f8921819a616816accae20a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060.select-option.more.active\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0e88b7630daa59fe94d6a8566fc04782d300d85ee20c381c8f4b3bd4773c63"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.3:1): \u0060#main.icon-btn.stop\u0060 sets color: #e11d48 on background-color: #fff1f2 \u2014 4.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1526}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c9bc0d73012bbbb772f32d7f02ceede854a07b058567576d60e5bc75ba387c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.2:1): \u0060.remote-device-search\u0060 sets color: #6b7d9c on background-color: #fff \u2014 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"22330b10e1eb35a91e3138cab897707b1bcafcc37964f1064ae737bcd1be6478"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060.connection-progress-status[data-state=\u0022connecting\u0022]\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2035}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a3a54a9aff3e179f5b58a90ba47bd81ad93973076538037eaf939b48f7d1ab"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.4:1): \u0060.connection-progress-status[data-state=\u0022waiting\u0022]\u0060 sets color: #b7791f on background-color: #fff7e6 \u2014 3.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"7172d97e831fd40cca1b766b2ae72f548828844236ccebe14a7bec68431f7656"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.connection-progress-status[data-state=\u0022ready\u0022]\u0060 sets color: #1f8a45 on background-color: #e8f8ee \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"391ed9628cb27233fdc55b80823f507789e963ea96d774a94f30dbb4a30036f2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.connection-progress-step[data-status=\u0022done\u0022] .connection-progress-step-icon\u0060 sets color: #1f8a45 on background-color: #e8f8ee \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c17cf22bec1d1abae395e02a704c4762d2b301ef8db33945ca76cd023a0edb5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060.pack-actions .ghost.primary\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2411}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ab9e72fccfd8b445d320ca2a4140d32512ad56cdf90e5346bc404fa70e0f74"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.2:1): \u0060#pane-mcp .pane-top .action-icon\u0060 sets color: #6b7d9c on background-color: #fff \u2014 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2722}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57567594202ee39d3535e211d113fa7484b7ac9fd0b49b1f99ab109c9337ca2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.2:1): \u0060#versionManageDialog .version-remove\u0060 sets color: #6b7d9c on background-color: #fff \u2014 4.2:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aae3d088783464d27ad2412042c5f90217a0d0c908ed67cba3ad88a4b68777b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060.launch-icon-trigger\u0060 sets color: #6b7d9c on background-color: #eaf1ff \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e96ef8e1cd83c931dae915bd552b3c49ec088c1e1cdf9f48c7fe4510f85982c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.1:1): \u0060#launchDialog .launch-icon-choice[aria-pressed=true]\u0060 sets color: #3b6fe0 on background-color: #eaf1ff \u2014 4.1:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":2954}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83a8c2def5b9b081494f6f92536d651b04b8cb2339eae85eeca47a112572aac"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.internal-tab-list.dragging button:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b82c15d06e1df1104dbc6836a43d6ebd1a06b035aed27d340bc4c5d62b6f60"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.launch-app-icon\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee9744e6b3c8c942c0b7ee4df7c736dc2e1eabcfe694a6ce26459698727193f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.launch-app-icon[data-pointer-focus]\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeb3d2c3c6944412730ea0d71aeb1c69eded8b028b872820618b38149e7e414"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.connection-import-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e9a16121290997c85fe75bba907e24234c42d1f476b66568c1ad42c6077778"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#connectionSshImportSearch:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a05cede217bf34ab4dd93d041a0e487cb67240729640f08e7031c1fce1347fb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#pane-remote .remote-device-search input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launcher.css"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a795338582fe7e3618ecb5665d7bbd0ddeda87ca0f2a0549baed205ebe94c4"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Test suite runs only after the merge: \u0060build.yml\u0060 run(s) the test suite, but no workflow that runs tests is triggered by a pull request (or a merge queue) \u2014 so the suite reports on code that is already on the default branch. A red build there blocks nothing and the only remedy is a revert. Add the pull-request trigger to the workflow that runs your suite so the gate applies before the merge, not after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"731ad560de6aa35d3e92103d5ad0fbec4c54f771b709281e852941847e03ef03"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 126 Python, JavaScript/TypeScript production file(s) this check read across 10 module(s). Each was searched for its ecosystem\u0027s logging libraries (Python: logging, structlog, loguru; JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \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":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"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":"src/lan-proxy.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8a01fb4f47b7b39a757125c05415e3a2c8d153ba3cc307429cfa6a2187d965"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060listWorkspaces\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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5638f91693aaec98d946438aa5f60cc7f364c5ea96fa1c009003dcc7d3db023f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060workspaceStats\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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4c17a47ba0d9eb5f93ade021cbaaea1a935d5803109e03306fb6103aacf992"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060getFile\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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd3408cbdcc6243494fb3c0f4e06b875c3df7d929de0a8c88ea95561102ac7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060readIndex\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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a87be4a212afa372eb2680be15e67d535348bbbe0ad8bda386acffe0211cd7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060copyTimes\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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3bb40962f957e89722c01741391cde76c8c274030bb2f9032f305810de4770"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060buildAssets\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a340f7534aa49969a6955b62a1f28ab59be0b0a4a851c713ead97fdd918712dc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060buildAssets\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d104d2e2484e0a4c17d8e0421495cdcede84c368ec5c340a5e829d1c8d2a857"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareInstall\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d34e78f25439b04a76a27851c0f977cad044c439a2c753bd197f8be095771d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060prepareInstall\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"261705e10c373f85d5c86035343214485b4ef6e637b0548b5fd6754e0eaf6a28"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to find\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad1cd91a96bfd1e74339b0b8fe6a17f83ac9cdd9c06ec18eefde5609797f349"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060spawnSync\u0060 in \u0060prepareInstall\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"612a23bc9a45dd165b0d083a49d55edf544ad0b9d826a496653dffae571adf1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060prepareInstall\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":"scripts/update-flow-demo.mjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0212075ab83c9f80f4f19e0271e759e83f3c20c60f7ba6896c1d72836b01b8a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to listen\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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c72661533224281b5143565d05b3bcc4eb1736628f4ef7603c1cbe4d9ed8db"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fd7bc6ffc60b2a85e79ae849e4f9e4a5551d3c88089a395fc6aa81f23846e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"095c51be7d86be723dcdb511c9ea91cf8e9722eda89aae7981e92c5f54ebfc4a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"72675c557ce5b676d8e273f7734b7b81eecc6b24fdcf10c8235713c2b19bec86"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb94ce97aeb0257c3168b7452fb05ac21ca723912d2a2d0c9e0c5fd368f9602"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5366b7393d56486d186e1072dfe941ba452e0882fff3b73817511944322c4e80"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4e2e3e0ac873d5f7347c08c2b21f2376c96cf8d950da69bd703996b8583930"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9c6b9227d657965c92c9403d1504d12e9f44523fa14b11d1a4a9d0e6de04be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dede13dd9abc58ab16d892bbc76e9d9c6c8359c3756bff57e24c8b47e25ae00"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060run\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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8e78e80dbb668daadc7cedef60502180bfc1eb9cb63358e0f8c9aa5b92fde3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"22613368f70c4a10904e47133027e6a1cfe96147c2e987986afc7cce9b5ec550"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0466b1eb007bb980ae243eb701f12656d8a506774542de477b3c2774828aa938"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4229a078a3131f15cf99125eaeb3a63dce0727c3bfd28d97112b547863dbe65f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a94ed313986af35d865ae5a6a7d33cc2dedeee59ed50d217ce4801fac50fbb4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4e7e7d335d6c253696163d19ab434e65a4115101ccf90e4d1a16f975df171f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b595068ef5354974387f0859714a475a345b5679a25166572dfe5ccfadd54d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea95ef2361b439c4133084cb11aec2427376aa077da06d7b39ad6770c53b0c5b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060installCore\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":"shell/core-fetch.mjs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c0373b30d942a5dbc35f0c240d65fa1fd82119175a4b3424c42ec7e04d875c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to filter\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":"shell/core-fetch.mjs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea208ae6ef676138073ddff12049210844bde0943494103b6d76e724af861c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060downloadCoreTarball\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":"src/core-npm.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d04c038300c4fee2412692836a164ef8f0ea3e0f88fce061022345964af5b8a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060applyInstall\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":"src/packs.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7e7c97ddc31ca936632f2dcf9a6c0daab1e9e568a7f5cc731303df3fc40dd5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060applyInstall\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":"src/packs.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b056200549613464b83593354393efa3ae6ad1b1a00ca7b38eb0349182d5b29"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060applyInstall\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":"src/packs.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc144ce4adbcf95196c7a6a9533c36eb29e341d7e2be25663883fa613d568b1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060applyInstall\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":"src/packs.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65310e2d91069b4ebcd4f96d010a5f636c3a45cc35d46e4e334e56b578e64e6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060applyInstall\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":"src/packs.js"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7f9cdc4f2e9240be1ed3d169bdbd4e00c21a25dbf11b5a8d36499fecc72b5d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3697e461f8457bafd878244c7fef9e12fffcca845e17e2b74ac8ef5ddf95b6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060openSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4e8fdc4b07bb37cace65716d638b1eaee99147882bdc1fd679c8fb648146a6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c298de927a078eb75deb647425c7622fa6985510f5e0adf576dcd57060ce0ca1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf31f4792729abcb6cd231c250fac31de2374dc2907508166f72a66c8c8035a9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060closeSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75d2d7fe167c9f68c508915d1fef7007f4ff808650d501058dfb923aa3b453d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060closeSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0e2f2357e72ca6663904788320e617886639b872480198f72bc3648eed5e4c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060withProfileLock\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":"src/recovery.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bc5a52eae399635e410c200f65c3108921938e76a837b3e5f56360175b1def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f04953ccb857b1bba12d40e43ed9e25348d8f9970827e310352458d627e438"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa236ac9279a8197b9ac1f2c3301aad1d9060931d8ae4e60091783b91cd9d7a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"31795ccd26377bee1069cd933eec97c0791d2dbcbdbf7d8c5d5745e36dfade98"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"393ecbd501c18939a656662091e3d738448c787642faeff2c950a679bd73fb49"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"930f1073dd91d7066cb4e2328571f386c742bcf52d3d19da38982ea1969802a5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"786943d5380dd604e6daaa5a3b2e8ada20bbe42e4040469eadd0847e22418124"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060mutate\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":"src/repair-actions.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"771033096fd76c38d6c5a1a4c9fd90765a8ff08440e763bb9f64211401b88f96"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060execute\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":"src/repair-actions.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"0884e1baa45fe06b3fe01587816738ed02f633255ee4b8f92c4b30e4d126311e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7ca68999afd207415d7076fb1d8050212dd05bf1006cc977e14e11305846b0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f59973c1646ad31f2ba9455f5249f320b061463368f86e1408ace6476deb41"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a2d6ec47e563bb9902364bb55b46d972e55eedfffb93c094125ee66af5420b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"71493f0336ef9ad9e9bd7aac586f1eeb3fb01cad985d1ba2797bc141606c93f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3205b6764c7c575fa2f832427d78a49e03d410afe7f288f53d5834aa45a36794"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3a6f3f70d79e5b81190a96c0919d3f0614e4b2dd3a5de7aa0a42c37e3493ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"52458804602726db011c02a977261f20a88a61152efa7434418db98ea7bf8a35"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to withProfileLock\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":"src/repair-actions.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f6e163a6d6460d6a58b7dcd814c1a9b146a30533f0671c18cfefffa6c74c3c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to setTimeout\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":"src/server.js"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3a3c41fca042b72bbbbd8e97ca8bd3c0317211b2db42407c6d7b02ccf1e641"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060callback to setTimeout\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":"src/server.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea71b8875d01bf99c8b49a0a92070dd5f921011f777fdf2b20d7692cdeef0be"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installSelfUpdate\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":"src/server.js"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7f86a82dc04a6fad4cdada9c46bb8c2ee73182c3ceedca2b6c5c453c381079"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060installMacUpdate\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":"src/server.js"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece456b76faaac1ee1c6f20e87f84643bd7e8cf626d872d712a717d93128c44f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060installMacUpdate\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":"src/server.js"},"region":{"startLine":1776}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad09ba1e453320fe5c7dbe714e71b872ba825b96bc636ff9871fc96f7611abf3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060openSync\u0060 in \u0060installMacUpdate\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":"src/server.js"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe61011511f17333f382468c18a5b7479a5b7eb076465e6650d74b1ca55f373"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060closeSync\u0060 in \u0060installMacUpdate\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":"src/server.js"},"region":{"startLine":1795}}}],"partialFingerprints":{"codehealthFindingId/v1":"11afb01b5e9d7e01fdc36e1cfe64407b26b81a4879ac47b81ef7519e74aefdfe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060withIdleProfileIn\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":"src/server.js"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51ee1d2ca510cee7e4546f249df9da0fcca80d3df28f07c0f2dd9d09acbe19b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060initTemplateProfile\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":"src/server.js"},"region":{"startLine":3197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c42859b0fd91de16373aa4c1f146aed5aec8b87b4104a1789b9bb29c3b3074"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060applyLaunchEnvironment\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":"src/server.js"},"region":{"startLine":3248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91090fcf4ac738770de173d72266c6c363c917e27bd62d70b1397a201ce3c08"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withProfileLock\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":"src/server.js"},"region":{"startLine":3259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2238f85247862ff9c981f68606ee2b3b0fba7ea6c6c547e37859a0c9c05ddf8a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060reopenPack\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":"src/server.js"},"region":{"startLine":3644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5075b44e33d4458aeacaf437d16eeae0c42200691222ba5600e90628f9212e89"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to filter\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":"src/server.js"},"region":{"startLine":3709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b0ac615b7ac622c8447c1aae1b53c7a628f61e834201c9fa3cce80b6c6d15f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060offlineFileFor\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":"src/server.js"},"region":{"startLine":3976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9f34fb69133cd3879831cea07a5e4c180345c41ef8a8b27a875411eecb078b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exportDependency\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":"src/server.js"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f7d9d1b8abe4518785e09ca95cc8cdec3ace1bdaf6ad4d3ca085cff4430589"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060writeEnvironmentRepository\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":"src/server.js"},"region":{"startLine":4070}}}],"partialFingerprints":{"codehealthFindingId/v1":"15473b0dd603c793584d9b212e009dcccbb902478940692aaf262a4f0181517b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060exportEnvironmentNow\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":"src/server.js"},"region":{"startLine":4105}}}],"partialFingerprints":{"codehealthFindingId/v1":"661d14224fcaee8c9ce19da5f1dde1a2f447512b6a0d0e89d347403e3d81b4ee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060exportEnvironmentNow\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":"src/server.js"},"region":{"startLine":4112}}}],"partialFingerprints":{"codehealthFindingId/v1":"515fcf8c189f91b1d78f1bd70476e5fc5597ec18c2978207476bdc266e4f0c8b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060exportEnvironmentNow\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":"src/server.js"},"region":{"startLine":4123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace54dc407a4f19d966bac08e900b9116af7954ec4e043b68c96a7d24a8631e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060snapshotProfileConfig\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":"src/server.js"},"region":{"startLine":5086}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e8f6775a172778d55a0a8f771433899fe26d0d1fe6619e111f219abdf4df37"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060snapshotProfileConfig\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":"src/server.js"},"region":{"startLine":5100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2989176fb04c3bc54e835f7169c2d46be7da95e56d662585e981c5dd0f1d6a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060restoreProfileConfig\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":"src/server.js"},"region":{"startLine":5126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4014ef6b0a7b7a24e897567cce32410d57d0a4287024edc0804c93af6f6098"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060restoreProfileConfig\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":"src/server.js"},"region":{"startLine":5127}}}],"partialFingerprints":{"codehealthFindingId/v1":"724b3e5a65a46bd577f31ada3d589f25a5729373a2c870456b20485a3a32e3e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060reinstallAfterRollback\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":"src/server.js"},"region":{"startLine":5155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9f1027d8cb9b65d8c67d4890cadac20c8aef07bcd6f188c014b615b40e5aad"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060downloadAppUpdate\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":"src/server.js"},"region":{"startLine":5855}}}],"partialFingerprints":{"codehealthFindingId/v1":"57118d84397a2b37183b61e53a304167180dfc7c1725847b21f63332cab4805d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyFileSync\u0060 in \u0060applyAppUpdate\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":"src/server.js"},"region":{"startLine":5875}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba17ff13b16489374ceb5b30f487d779cf9b90aa2bb5b0ed34e46437b0aacc8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060applyAppUpdate\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":"src/server.js"},"region":{"startLine":5906}}}],"partialFingerprints":{"codehealthFindingId/v1":"34788dfbe975652afd430951b6e0c42ac07b0b3afef84dafbbb358fd9154467f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060applyAppUpdate\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":"src/server.js"},"region":{"startLine":5907}}}],"partialFingerprints":{"codehealthFindingId/v1":"6437532239c94d4e53fa3820c56785300b2ec78fdab9e77986456fa035d1d89f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5949}}}],"partialFingerprints":{"codehealthFindingId/v1":"b761720484e38be91d81d184b4aec747230259e99f7a46732bdaa5fde0116b95"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5952}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a833dfb8fc4813a1c98494e58844cc01c85671d262069a8eb882c0d6d1c4b3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5955}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6dc198da783680337ebd3d1f3a1f270167511e2b6bccf684f42ef3afccf105e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66c94ee70c6dda34b8506e9c5c3c1b371cb0b38bf50c52eb5c99247bca41cef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060copyFileSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8256815cc6777a842ee173273126b57eb88dfae3a85dfc91bdc6646111a6ed6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5969}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca58992e05d62d83c7e4d8321ce35c35869ff3acc12eed63a8b9c27b71571c2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5970}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abaf3b04f1b126cb2f26201a767df1926a9578afab308a56f0a01407f94465e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060refreshShortcuts\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":"src/server.js"},"region":{"startLine":5973}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb82d7c53f51e00f7687a53eb9cb128fd1c3448beb5e668508e44e8d88f93c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060addPlugin\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":"src/server.js"},"region":{"startLine":6463}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f92858882a387811c112266ba4862f80af12c894889cef5cb6706bf54c9a3f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060removePlugin\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":"src/server.js"},"region":{"startLine":6543}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4517715197a373a2a57f1065341ec8f7911a8316a63af190eeb6c3b8624186"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060available\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":"src/server.js"},"region":{"startLine":6660}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0733980280c851f16db0d87d173448a2c011f769f9ea5dfbe061977be53c7f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060prunePackInbox\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":"src/server.js"},"region":{"startLine":7251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9846938b4a7a4fcfafaf7a7f84ac5edf34393e648a61574d5e46eec1971cc1aa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060prunePackInbox\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":"src/server.js"},"region":{"startLine":7260}}}],"partialFingerprints":{"codehealthFindingId/v1":"631cfe8e10b029b693bad42df97ed0f2c69ca2dce16c7b16afb26287c257624c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060install\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":"src/server.js"},"region":{"startLine":7271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bb50e2589532b5e07124e24a4239239b7ee59023540af8fb8beef57b1fa860"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060install\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":"src/server.js"},"region":{"startLine":7297}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd03f92c7200e53e380d57ca3b29abedc49dd049dc904afaf3015a336c45b65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060optimizeVersion\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":"src/server.js"},"region":{"startLine":7323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e649f4aa96764771a28188df65a279d79b5c791aec52bf296a37c70137dba9a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060optimizeVersion\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":"src/server.js"},"region":{"startLine":7332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b756360dbd9b6f83e88351eb469f6b1e1a8a2c49d590ab6b48ba8ca002097d6f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060startNow\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":"src/server.js"},"region":{"startLine":8398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e013cb080c2ad990f607376993e4b4f6c938eba62c86465c46c57cde6d652e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060renameProfile\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":"src/server.js"},"region":{"startLine":8704}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a14e7e0a064917da56929b57e56a73dedbb93faaabe10e433017354bde595e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060renameProfile\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":"src/server.js"},"region":{"startLine":8704}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbe189a4307f92b1a0db66275b7a7497776ca7f5cfaf6c7f01f65cb07656fdf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8714}}}],"partialFingerprints":{"codehealthFindingId/v1":"8749ce4baec03e3506e686cbfad9bf4b65f64ec70e6f7bec6e0f2d5afd6a4774"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060scan\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":"src/server.js"},"region":{"startLine":8726}}}],"partialFingerprints":{"codehealthFindingId/v1":"08adc229dac5e2e03d676ec1cad58404cab9833e2c92446d85d04bd4aa33fdbc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readlinkSync\u0060 in \u0060scan\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":"src/server.js"},"region":{"startLine":8729}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce1c5d4f9de546659c01da39097aa7dc07b6a668951f87d46a7002c517fb94e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060scan\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":"src/server.js"},"region":{"startLine":8733}}}],"partialFingerprints":{"codehealthFindingId/v1":"d257e1c2d95412c5386c9c2d11790549ad51abe8ee1047b2801a986a017e3365"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060rewrite\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":"src/server.js"},"region":{"startLine":8741}}}],"partialFingerprints":{"codehealthFindingId/v1":"1770be60e726da5550d8f9efeb6051de2b84df22a18c2c83e40936fd4bb2ea9c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060rewrite\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":"src/server.js"},"region":{"startLine":8741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6dcade82c475208051eea1cda51b84b161653c371724ec8000abe25a6536b9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdirSync\u0060 in \u0060rewrite\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":"src/server.js"},"region":{"startLine":8743}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7a5cdcbb5d0d9b00325f9b47d42c3f2d6484cd353ad2d6a5cc84210d981ade"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060rewrite\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":"src/server.js"},"region":{"startLine":8744}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b159cfc401f3a6be53edd210b8dc29aeac2db39a52b8548df7b41b06c512b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8749}}}],"partialFingerprints":{"codehealthFindingId/v1":"12173fb271d468e7c3baa3baf5ed05775559af984ce84333854114a8e04b9ce7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8753}}}],"partialFingerprints":{"codehealthFindingId/v1":"8985705e48020139a342ecde9cd7954ab6603949a28dcc7d8c246084f5cc2b81"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060symlinkSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8754}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ebe7c2b3fabdf3edf7c2489be0827a7ee8eb93d47d4f812af6243fa2397b39"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8757}}}],"partialFingerprints":{"codehealthFindingId/v1":"58712d278832ffe77856283611f81af4266ea8e44b5d603a2498c47418861050"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8775}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c16ce22e5e6eeb7a0137a7dbf664ef30f5003dd35447f6ea5c1b3a8fb7796e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8775}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfbbfc345cc13f40485f283fe9ffdcfe3e6acd8dfb45cce2cf0efe9b250a151"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8777}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa42343b141dc7ba487bba3e8b90dccf3c09b416d62ed871d0b747ed2ce8b5f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8777}}}],"partialFingerprints":{"codehealthFindingId/v1":"c530f54a4ace42d9bf3e3357e796d6674ab0f1fb900c21e64cd39a7696197bee"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8778}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31b42927369d2e5ade6d386e599507bc418cc0cc498f01559f404fcb18107e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to map\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":"src/server.js"},"region":{"startLine":8790}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0eefcbe07c457d298689312513e74861c747e6845751e6ecc19741e9df93f4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7490036ab96154c1c86859cb7a75d56f3786b63b7c061c4a1e9c5c3d731e93"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8796}}}],"partialFingerprints":{"codehealthFindingId/v1":"641f908725b319d14b752b3e3fbfae2678ece0d9d327fd937ed59e344dfbadfb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8814}}}],"partialFingerprints":{"codehealthFindingId/v1":"44eef53477596f1e075c50789b87be1e9f93d87c874503d4da292ed8ca8b1a17"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8815}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c32ec6d26b34b303571ea5c78c16d514acfc30efeb395a9347a0250e5916981"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8815}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2a539b2290dcf132b99acb1084fc9ff5fa2372467a6cb0672a2fd7fdb6f26e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f40a9b451f73cef5773c2cae8af8a0b0afa435e65e8cf9b52a9855a3490fc3b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060symlinkSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8819}}}],"partialFingerprints":{"codehealthFindingId/v1":"a084da8640ce38ab560725f947f6bce1a85a85475d06ab602d64f0656ffe02a6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060renameSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":8821}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ef1a7a2dc1815378cb22aa8e8a28aea7cec753b9808aaac6a00487b87730fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060unlinkSync\u0060 in \u0060sameHome\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":"src/server.js"},"region":{"startLine":8827}}}],"partialFingerprints":{"codehealthFindingId/v1":"431ced60aef4c8aae79cbc2206a09dab5a66f552c343ca41306051cf8a0600f3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readdirSync\u0060 in \u0060createProfile\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":"src/server.js"},"region":{"startLine":8882}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e36e6db2ca66870063602b9b6ea3a2e32f40332b7cfddb92012ffadb8cc041b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060createProfile\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":"src/server.js"},"region":{"startLine":8884}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc49da7c42be60291e6f9a4a0dc4fafbde5c527314ca2b313ac9363dcc4971b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8891}}}],"partialFingerprints":{"codehealthFindingId/v1":"646203a93e9737524cf7760f9498acb13738e93e3779595df690eaaa09825c79"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060filter\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":"src/server.js"},"region":{"startLine":8897}}}],"partialFingerprints":{"codehealthFindingId/v1":"741a598441f4b96529d539554514677226a7ee9eef3f1462eaa2d33d18251482"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8908}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aba1d3e4a7366c464295891c26e5ceee61f6d928e1b012e06d143c72034cb74"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060lstatSync\u0060 in \u0060uninstallSystem\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":"src/server.js"},"region":{"startLine":9259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae1de3c7ef4587d5a1875c17f3704640c9ef42ac1403c6a3f49c4e013c06819"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060uninstallSystem\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":"src/server.js"},"region":{"startLine":9267}}}],"partialFingerprints":{"codehealthFindingId/v1":"db84907d620c552c46b9412a422fd4054d87fcd76bfbe907d83b916099a24c72"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10295}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaef761fd97115dd125c74a764512e8f53be5edab228595c611bf84cf65fdb4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10296}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae351d3486c57656cd1b49e40178b4a0313e4b0480fe1da14b8474461b4a6bf"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10305}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f8d989d17bf45d123d0bf0aa2ad6264ef593bf7a79707ab283efe5e7893ed"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10321}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c0b7cc9148552732cfad748b5ecccb845296058c2163601a6db52dd1e23038"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12411fa88e6a78ecc3666323613ecce686b0812192dcdaf93359be5e90d3002"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":10915}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf81016e758dbc4cf306632df4ea09853d729475a4b9d8373ffe7d1aa9a26fe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":11030}}}],"partialFingerprints":{"codehealthFindingId/v1":"604fdfb6e28f6e443351e5048a094d1811802bbdfcb637e5f6fec0b95480b34b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060handleApi\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":"src/server.js"},"region":{"startLine":11235}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276c97958bf9eaf52cfb5e62f41a02be613442c84dedf3f9e51f52f51782304"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to filter\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":"src/server.js"},"region":{"startLine":11250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee8ce33d2323795ac861a1446cefca659b33cede5a661cc31dbb31220bf226d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060callback to withIdleProfile\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":"src/server.js"},"region":{"startLine":11303}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5f1ffd63128d0ab305023ac42eb4cfccaa0788b2bc5d49b277bae6a71c634e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060handler\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":"src/server.js"},"region":{"startLine":11739}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e1e0e1ad9458ada69f800c5dcead9b63a7ff7926a257a94fc3eee39d433a9e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060handler\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":"src/server.js"},"region":{"startLine":11747}}}],"partialFingerprints":{"codehealthFindingId/v1":"380b1d0ed3834c7fd52655d942e9e70fdef753af6a5d603a70055991136d5f77"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060startServer\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":"src/server.js"},"region":{"startLine":11814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b286a31182bd5c3766ee400d0e0fa4f730395503584f54fb3381265a0ac6ae9a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060backupSettingsOnce\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":"src/settings.js"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bf56c399b95c00881dca29faf64a6c541f61a38ff75a6ea08b0187cc8b8c34"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060mkdtempSync\u0060 in \u0060prepareSkillImport\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":"src/skills.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"158754f13d2918c3ac71d2b7a5cfa1be7d9cd15f7700fdf81d4c7a82850fb033"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060writeFileSync\u0060 in \u0060prepareSkillImport\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":"src/skills.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"793a531c835ca4d8f50374717cf6855149c7bf74e2549769abb2d863d9c9e456"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060rmSync\u0060 in \u0060prepareSkillImport\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":"src/skills.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"6620b0fa6610cfc533c34f1ba4919e630f6be5b49c3bf402d57ec64fb828fd53"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060resolveLocalCoreTarball\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":"src/ssh-core.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"387431e7100892ab15c000fe561fded6bd31ccb7c0151b4ab944b1036946933e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060resolveLocalCoreTarball\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":"src/ssh-core.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c90d612ac08b4b54ee9bcf1f027332fd6634b7030bd84ed6b8541c18248616"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060install\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":"src/ssh-core.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4293fa2903c940556214a6cd7198bc881c23f9db20ab65697230148bec785f12"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060getFile\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":"src/sync.js"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"65125f872d42f6d0990c6462389873c4d4d2b2886898a40018aab7cd7e8b2ebd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060existsSync\u0060 in \u0060readIndex\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":"src/sync.js"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ed6914cb37d0a4c34bb6260a94397e9b4cd324fffe27127a7b07c203d7de0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060statSync\u0060 in \u0060copyTimes\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":"src/sync.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cabb269c3924de165098794da27a16f003ffd3a00b2d54580ec1bc7029c126b"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 0 typed \u00B7 363 plain JS \u2014 the untyped files are npm-package/lib/core.mjs, plugins/dsh-x-aquarium/index.js, plugins/dsh-x-aquarium/lib/mascot-part.js, plugins/dsh-x-aquarium/lib/panels-block.js, plugins/dsh-x-context-menu/lib/client.js, plugins/dsh-x-context-menu/lib/index.js (\u002B357 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (23 clone groups): 23 duplicated blocks under the repository root have copies in at least two of the sibling directories plugins, scripts, shell, skills, src \u2014 20 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 23 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 23 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 23 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6561213d011ac00262edd134838f1dce75a4cd58057d64377420c0e3d2c58b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (10 clone groups): 10 duplicated blocks under plugins/ have copies in at least two of the sibling directories dsh-x-context-menu, dsh-x-memory, dsh-x-sidebar-browser, dsh-x-sync \u2014 9 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2744fb02a7a5bb4439007e8b3a670641a1954c61c0f2195543b8fbc440613de"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (1185 identical lines \u00D7 2 files): plugins/dsh-x-sync/lib/engine/sync.js:21 \u00B7 src/sync.js:19 \u2014 these 2 files are line-for-line copies of one another \u2014 1185 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51dfe7540c3d109660c3d405834c00ebc3377c89adf6041b69d4d07e077b487"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (254 identical lines \u00D7 2 files): plugins/dsh-x-sync/lib/engine/zipfile.js:14 \u00B7 src/zipfile.js:12 \u2014 these 2 files are line-for-line copies of one another \u2014 254 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f18502c0809b24cf7f809606a7d074c14ca36398ed5e24c0e164866b7e9e94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): plugins/dsh-x-sync/lib/engine/version.js:11 \u00B7 src/version.js:16 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/version.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ff36e31facb3db8a2c19b2dc1454757966f00183f9604dd736dc3cd8fa8aca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): plugins/dsh-x-context-menu/lib/index.js:144 \u00B7 plugins/dsh-x-memory/lib/index.js:165 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed28c23724126a24305ff4a4a62d60c9c80b7fe244a8732f79d8da37b1f8ffa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1373 \u00B7 src/skills.js:78 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c684520874560cff707270ddd6ba35706a173d21e75d5e7ef51116222347f24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/index.js:65 \u00B7 plugins/dsh-x-sync/lib/index.js:51 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ad28bf73c7f439595236602f4e3a161beb2d6bbb019bdc4dc63599274b2336"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/index.js:444 \u00B7 plugins/dsh-x-sync/lib/index.js:464 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"620965da48df7b2d77b7136a83aa5124b3f6db8511b49fe4e6a69b314ff51172"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): shell/env.mjs:53 \u00B7 src/server.js:4894 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/env.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f8a9598b788ed4b6a158d912d03efedd75622f0f83da67d6d33146846108f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): shell/main.mjs:1067 \u00B7 shell/main.mjs:1117 \u2014 the two spans are one implementation copied and then locally edited \u2014 141 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":"shell/main.mjs"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"e965bb5c24e639683aa6852e9354f4a096335d5dc1516a3c9203b34a93aec2ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/wsl.js:821 \u00B7 src/wsl.js:856 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30169a73b7fb2688b07465827ee1038b52636c979d0bb24e7880e95e2c63ae5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:57 \u00B7 src/public/mascot.js:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"607796cabd01c305220f22d9700eba321af1d7396ff316d2a3ad438b63a87954"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:158 \u00B7 src/public/mascot.js:227 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4206013d7436422e377e60f4aa5f64ffee4d2857a34dabdec8985ae7415b7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): src/mcp.js:629 \u00B7 src/mcp.js:723 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 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":"src/mcp.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"88967268d37536178dcf1d9d800657f7956ae965e1ca3a93ffaadf14e4c10bbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/server.js:11005 \u00B7 src/server.js:11034 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11005}}}],"partialFingerprints":{"codehealthFindingId/v1":"23292de9530907c2b3f6cf33d405188fad27057ab9d174036dacd60af8af7917"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/remote-core.js:216 \u00B7 src/ssh-core.js:202 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e2ccecdde91c9196002452a4618144d91ef8e1681f978f658820c3c7765ef2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): src/repair-actions.js:499 \u00B7 src/repair-actions.js:643 \u2014 the two spans are one implementation copied and then locally edited \u2014 93 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":"src/repair-actions.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39b00bd738ebcdb6db29e4ecfd6a118f937835d7af5c611ac54e6a1ab5d3dbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/registry.js:420 \u00B7 src/registry.js:436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"be083983090d6fb50bc96375537247c6a5355074d3235d73494b735a179e62f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/remote-profile.js:9 \u00B7 src/remote-profile.js:36 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-profile.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca3ade7b06f392da75e283aae2ff2256a99efda1e8806ea485e28b2aaf32786"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): src/server.js:7832 \u00B7 src/server.js:7980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7832}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c94158948b1fdfa7010364483e563ee250198aba5b97eb12ee3c458351344b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:109 \u00B7 src/public/mascot.js:170 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7f682d95d773240376c2e383740c69ede15c83ba3f49ae941c27a37c57e4a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/client.js:403 \u00B7 plugins/dsh-x-sync/lib/client.js:459 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9934b08a26441eaaac2425958640829b26aa04b9cb9796fd26242855878bcfe9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/index.js:334 \u00B7 plugins/dsh-x-memory/lib/index.js:348 \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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8b0b90293cc8e28162fa27421323a8986d3ef4872d0b46fa832b656f855296"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/index.js:390 \u00B7 plugins/dsh-x-memory/lib/index.js:412 \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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6763fd827c64df013f48f4e39e2426c1593340667da8efd5ca568014c77f0e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/filemanager-linux.js:7 \u00B7 src/filemanager-mac.js:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/filemanager-linux.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea4d7818248bb7ae9278f21a5fce7fde3315028f1de981e5296e21fab436e03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/remote-core.js:185 \u00B7 src/ssh-core.js:170 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d3b59d3b27333e12b241c12e7555bb39b5cbe56d4408d6178747d5fd461a9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/remote-core.js:267 \u00B7 src/ssh-core.js:285 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a92823087c7703605cad0e0c3f8653242bd1fba180ae4c142607ca8636b419"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): plugins/dsh-x-memory/lib/store.js:217 \u00B7 plugins/dsh-x-memory/lib/store.js:246 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 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":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cae594a4f97409910b4e0eb755fd6bdd75ef87b0115747e19903603acbb224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/manager-auth.js:159 \u00B7 src/manager-auth.js:186 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 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":"src/manager-auth.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c296b75349478ca867a51b2660df394a6844a0675ba47f6816b8508e0f3794"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): src/server.js:10337 \u00B7 src/server.js:10909 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10337}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c20e675ad8ad552627201663c48f5a8b744e73b755d193a6e7c6c5b40b4313"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): src/skills.js:188 \u00B7 src/skills.js:200 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"src/skills.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"536ef4a8ce90ddafc033f88a954ef6445101394ef3621b136102ed57755b504b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:126 \u00B7 src/public/mascot.js:190 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9665638f28ce04a9fcc30f29a665de1065a4ab9c227b041ff309a59236a4987a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): plugins/dsh-x-context-menu/lib/client.js:994 \u00B7 plugins/dsh-x-memory/lib/client.js:399 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e7be092ac71605f0c29f776357226e9c7bc0f885320fdb2ccc142fac3c7ee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): plugins/dsh-x-memory/lib/index.js:368 \u00B7 plugins/dsh-x-memory/lib/index.js:392 \u00B7 plugins/dsh-x-memory/lib/index.js:414 \u2014 all 3 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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edec9fedb290c4e479d066bc09980a3270128a21775fc6e7a4106832a739a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/tools.js:102 \u00B7 plugins/dsh-x-memory/lib/tools.js:157 \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":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae59c470cb57a519afe3571ae4562e16d2a9f1462b86e1ebf3237dd8318992b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): scripts/pack-mac.mjs:103 \u00B7 scripts/pack.mjs:69 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-mac.mjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eac4df4f7e92e5ae379e310a79951680b29d3963c187f429a9b6fc677937679"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): shell/core-fetch.mjs:196 \u00B7 src/core-npm.js:170 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"278252621c770a923127f4714de040e982ad55a44299a1ee8907d0f0a3f4c1a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/remote-core.js:286 \u00B7 src/ssh-core.js:298 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"8516aca3048babe48d35be757098f6bbf77bceb6490e7342823f50473b22f798"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/server.js:5519 \u00B7 src/server.js:5537 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5519}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc9e9bf262bd9208afc70151de186e0fde1ca630a078fc7d64032a35025591b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/server.js:8096 \u00B7 src/server.js:8136 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8096}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a564058afe72135f20b997358cfb4fb75d56c96f97f6148df8d187593caa3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): src/server.js:10176 \u00B7 src/server.js:10193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10176}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f30db3b4fe28ad76a9de6e0728647f2341d9bb85801ec8fc1cffd194ddd0a8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): src/settings.js:281 \u00B7 src/settings.js:372 \u00B7 src/settings.js:391 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d273e4d8d196c0d4aa36870f33c9ca26a390c2ff3f966badb647f5e1b34c48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): plugins/dsh-x-context-menu/lib/index.js:229 \u00B7 plugins/dsh-x-memory/lib/index.js:446 \u00B7 plugins/dsh-x-sync/lib/index.js:466 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46a4891157e085c8f18f42f3dacba49f63a83294a55ed53d908c20135f1596e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/tools.js:126 \u00B7 plugins/dsh-x-memory/lib/tools.js:177 \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":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab7ff3869e737c32a4e64d6dd732348f7e0e47c51acda95d15e06f10b0665d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/tools.js:238 \u00B7 plugins/dsh-x-memory/lib/tools.js:275 \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":"plugins/dsh-x-memory/lib/tools.js"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8949c57d85fdc3ac6c8210424d8bf8b52f89c8e9741405d4a4d432af5fdad400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): scripts/pack-core.mjs:103 \u00B7 scripts/pack-npm.mjs:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 125 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-core.mjs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37345e518dfd515b5e66113e6d62b00d8c7793bc4edd14c228b0ccda83ba897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): shell/core-fetch.mjs:211 \u00B7 src/server.js:7050 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc01ec2c6ea7859b01fe3b5e43b3a2f769c4a136def8f6dc99fd4220ba8b1cd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): src/runtime-diagnostics.mjs:573 \u00B7 src/runtime-diagnostics.mjs:591 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"src/runtime-diagnostics.mjs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0317c94145a8e4251b9372937294f50421536026b146cbafb2b464dd61fa1d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/server.js:10067 \u00B7 src/server.js:10077 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10067}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8942380c8fd790803fae151905a5262d15594b2b1b14ae196c0d927f504f63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): src/server.js:11070 \u00B7 src/server.js:11097 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11070}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5660baaf7aaa53c37a7164a702bc3761e5223a8978c916407e6caab4c9d1f6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:147 \u00B7 src/public/mascot.js:216 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"b446608756b3df323bdb2c9118f001c3db2026db5674a85e166b31fba9c475d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:176 \u00B7 src/public/mascot.js:248 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"10188d36d158a232c2b585288801d46e6b1960eda2dabfbb9ad91d03a7858364"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/dsh-x-context-menu/lib/index.js:243 \u00B7 plugins/dsh-x-sync/lib/index.js:480 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"951fedd97d2c34c261a322fc05ea07d83e910ad9c9dae0363d27499d7da98825"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/dsh-x-sidebar-browser/client.js:145 \u00B7 plugins/dsh-x-sidebar-browser/client.js:162 \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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12debf5de2f434a7b7a21486e845c839fb7e189a5458d58695ebb6fbccd35d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): plugins/dsh-x-sync/lib/index.js:419 \u00B7 plugins/dsh-x-sync/lib/index.js:432 \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":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe6cd9714e39f58b76b5f30df3e5a03c355f3cea12b40b4d749c619d7058f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): scripts/release-manifest.mjs:221 \u00B7 scripts/release-sbom.mjs:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-manifest.mjs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd8ebd2142677c65e8f3dcc9e40d6a04d46c632b9cb746528266ce5fea3120b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/verify-tab-detach.mjs:178 \u00B7 scripts/verify-tab-groups.mjs:258 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"711bf88498218ebac8eec313f95a35ca3bb08ab1099f3e69075b7c8aeefc6c75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1237 \u00B7 skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1319 \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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7b8c5700569d7aca46e8b0cbcfcc1e8efdd667fa6e99b94c22c75b0d196a1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/remote-profile.js:29 \u00B7 src/wsl.js:850 \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":"src/remote-profile.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7230e27405cbe412d366ed88bbb21d490114a45071bf12326813faf5c19c8dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:3035 \u00B7 src/server.js:3051 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3035}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a568c20c478b8344fe7bd7ced4ba5e5c930bcc02934dc8c93f4132eabff89c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:10140 \u00B7 src/server.js:10165 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0a86fcf9d74527d99cf41603bf760b151004eaa3a311a4629f98afee45e3d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/server.js:10515 \u00B7 src/server.js:10539 \u00B7 src/server.js:10556 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d21687f4bbc3ef71adc6fb427fa6db2cf2f0ccc3202b94a536249beb6f77e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 12 locations): src/server.js:10638 \u00B7 src/server.js:10691 \u00B7 src/server.js:10702 \u00B7 src/server.js:10717 \u00B7 \u002B8 more site(s) not listed \u2014 all 12 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10638}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6962bf3b336f2c8cfa49ba491a3c9fbdfb0e9ce39c10f88ff90b29e1199cda9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:10686 \u00B7 src/server.js:10697 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10686}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b795624b5472349687bf3e55e5d944c4aeb2094ec6ce2ced5690cb037d92b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): src/server.js:10704 \u00B7 src/server.js:10719 \u00B7 src/server.js:11093 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff776a2a4e0dcf31084e62797ce940c885a64ee3d5db65e0376422335588e7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:10962 \u00B7 src/server.js:11143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10962}}}],"partialFingerprints":{"codehealthFindingId/v1":"baeafa2eade81db4f3f12173b26dcf5f6d6aaa41e310f720da5e0092dfaaff48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:11116 \u00B7 src/server.js:11172 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11116}}}],"partialFingerprints":{"codehealthFindingId/v1":"302796d2afa7c589275cff0ce9dde0356bc26da46a76766b4c79215c7a3274a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/server.js:11558 \u00B7 src/server.js:11567 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11558}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2ca7a5460e1def6a81d426aa649ddb08e26b3a2bc7617ef38cd9163e5d9ca3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): plugins/dsh-x-sidebar-browser/index.js:468 \u00B7 plugins/dsh-x-sidebar-browser/index.js:485 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 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":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed8ff3bbd571847c2c8b698b04617a13c917145a86053c6fda9429ec388016e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): plugins/dsh-x-sidebar-browser/index.js:319 \u00B7 plugins/dsh-x-sync/lib/index.js:280 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0244ced287421acd33ee7e0961489a949ff19d3f5647f2120371347e60cfc1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): plugins/dsh-x-sync/lib/engine/zipfile.js:243 \u00B7 src/zip.js:158 \u00B7 src/zipfile.js:244 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c0a1990c1e083721477d02e8d8428974d0dc770a8d0ee570bf42d97e50a0d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1016 \u00B7 src/plugins.js:214 \u2014 the two spans are one implementation copied and then locally edited \u2014 129 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67916c4e21320507ea69d82ee96a230b4132cff786aed7bdd60c7ea58acbbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): src/filemanager-base.js:145 \u00B7 src/filemanager-linux.js:100 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/filemanager-base.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"234073c78d3063f11c4225fd31bf9edb8ce02a3fdb22ea1e82fc4ddd808d75ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:6634 \u00B7 src/server.js:11057 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6634}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3be49a052b68b7d4dcc429a8af6698c67357c04f11c904fb66cf86029ba79d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:9801 \u00B7 src/server.js:9869 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9801}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52a52f9ae2a4aac38ee071c7de3ae497475990f4fb4cb151f9c159add06414a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:10087 \u00B7 src/server.js:10112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10087}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674aa281874a20bbe541ffe211d3fc74a992a067c127d74e6e995d67834e132"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/server.js:10109 \u00B7 src/server.js:10137 \u00B7 src/server.js:10213 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10109}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e360f7e3420d93c88caf7e1db7d77abd1da996793575a75b7319dc323e9bc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/server.js:10163 \u00B7 src/server.js:10177 \u00B7 src/server.js:10194 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10163}}}],"partialFingerprints":{"codehealthFindingId/v1":"86689959f0c0e901494fc9d59115d394634b08fa32bfc58d3dac9f17e79fdfb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:10279 \u00B7 src/server.js:10376 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10279}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae599451b3b247a42fa47d8d1ea03042bf38e0047b4a0f7083c09e860ebf3d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:10837 \u00B7 src/server.js:10918 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10837}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e29678f54eb78b90cb1ea26c5c636bb5176691fa04ac264e287fd7a508b9c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/server.js:10980 \u00B7 src/server.js:10992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10980}}}],"partialFingerprints":{"codehealthFindingId/v1":"062922af7c6698f40fc817aaed7533b4d09cf51ec46561cce4ef6baf66f0824c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/settings.js:239 \u00B7 src/settings.js:252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b120fd379b21ed6a504e12a0145b47bd63df1d62ebed6f5ef3e0708d003400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): src/settings.js:506 \u00B7 src/settings.js:728 \u00B7 src/settings.js:756 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63aa41f81095442264c887ebd17d751d84c649ec61e500130193f9f94f45aa4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): src/startup-diagnosis.js:114 \u00B7 src/startup-diagnosis.js:299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2e0b944d9bc1f8e17d14b1164581f286a1207d168731c4e218be35865e27bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:80 \u00B7 src/public/mascot.js:108 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95b08880a74d530c0b97c4b57374abf00e34034f5bd6d1b56c41bfe7f78e4e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): plugins/dsh-x-aquarium/lib/mascot-part.js:97 \u00B7 src/public/mascot.js:157 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea193011d5e392c9bcacae263854a211d7df3961d02fe8394306f91b6e1d1288"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): plugins/dsh-x-memory/lib/index.js:165 \u00B7 plugins/dsh-x-sync/lib/index.js:272 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a0558ddcc941acdfc1bcfd1b2e441375de74ad6f9de7b65a8916cfe79269d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1028 \u00B7 src/plugins.js:68 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec1c77a8c1a48d1cc66a550586256d9116b7ef8441ca677c71c56fb2044d5e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): skills/dsh-x-selfcheck/scripts/selfcheck.mjs:1416 \u00B7 src/skills.js:117 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad22ee4c96634a2b8c14b1eb62ca0275856914f9d7f71d8b08c8b62d8880915f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/compat/session-events.mjs:37 \u00B7 src/compat/session-events.mjs:46 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/session-events.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4584a3032f358bbb0daeb7e306dad8c6c700472f3a3c5b12ed3d020fd997d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): src/plugins.js:321 \u00B7 src/plugins.js:341 \u00B7 src/plugins.js:367 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b65b86fb65de60e6eaac76cd15e30e3afec1e8e0698dfd87c673664cb579a2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/plugins.js:457 \u00B7 src/recovery.js:169 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff93206fc26e7fef30123f99115a9ffb7dd99582292132a0b1a2b86080314e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/remote-core.js:150 \u00B7 src/remote-core.js:201 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"src/remote-core.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f547ac9b7fee35c685d8f5cdca37ef2c55c588893ac3c26e5ae5b309a38160f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): src/remote.js:174 \u00B7 src/remote.js:251 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"src/remote.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8473399c654478d26a5926279ad61568f9d54c3b60a9893c3a6d8d6ce9727ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server.js:9979 \u00B7 src/server.js:9987 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9979}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5d19e929a41c27b6503d7adf10c77c1eb0d74f26ad0e053f8d8853148850df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server.js:10926 \u00B7 src/server.js:10949 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10926}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f9fe5df71150c645f00ee568b6acf9a583fda3b7949e00299ed405398dcb0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/server.js:11488 \u00B7 src/server.js:11642 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11488}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3df38a5e7516ed1d95d51862cac316c112b735f31fa6f1043a4c36dd0776126"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/compat/diagnostics.mjs:36 \u00B7 src/compat/session-events.mjs:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/diagnostics.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c75a71ddf434d481f0acba9506a8f857092cf77867fd0a34c9ec3559adbcf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/compat/plugin-market.mjs:13 \u00B7 src/compat/session-events.mjs:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/plugin-market.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cdf72d934978fbecd750ab62cd1415e881bd51450bc8ea3820f2bf4722cd5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/core-npm.js:57 \u00B7 src/server.js:3618 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core-npm.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad1712bb91d54852cc2cc08a775625e19275960e3f210422500bd37ea7fc48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/plugins.js:303 \u00B7 src/plugins.js:354 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ead1d50fd9308bab7c4e7250225faac2bff36770d2b695087b05ad81a759b67"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/remote-core.js:46 \u00B7 src/remote-core.js:70 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9cbfc64cd8ae6a78fb57ab7a2b06144c8d982a81a9697c201364f75b299b1f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/server.js:10378 \u00B7 src/server.js:10403 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b1fb0d1ffa89722db390584628a3b1d28a9d64b7281a03b2b467a0b60d4cd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): src/server.js:10421 \u00B7 src/server.js:10501 \u00B7 src/server.js:10908 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10421}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6ca04215aac0a1434dfa7aa1ab57cce3c91adff84f7ed2ac771d147b2bcc36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/server.js:11425 \u00B7 src/server.js:11439 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11425}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d560cf33381f8e24f6382e0d51532a3c35e7217115bb9b6c5e58c2f2c916cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): src/ssh-core.js:96 \u00B7 src/ssh-core.js:162 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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":"src/ssh-core.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d0b751d82fabbe494600bc2567b9d397b385de1e9be1b560732d65c9d111f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): plugins/dsh-x-context-menu/lib/client.js:648 \u00B7 plugins/dsh-x-context-menu/lib/client.js:668 \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":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a6de5048d12c4afde94d10055a4bafd2d65cebc702b85acee3a04104996e8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): plugins/dsh-x-desktop-notify/lib/desktop.js:74 \u00B7 plugins/dsh-x-desktop-notify/lib/desktop.js:98 \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":"plugins/dsh-x-desktop-notify/lib/desktop.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"511ee3f0ae367a68c658ca63ca72a99ecb6872ee3a086787cca7d6443fb9b5c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): plugins/dsh-x-sync/lib/client.js:316 \u00B7 plugins/dsh-x-sync/lib/client.js:323 \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":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"648ccc60ea64d421fd522ced820e79d5cab71cc0c0f1264b045d7ceaf34571c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/make-pack.mjs:21 \u00B7 src/core-npm.js:189 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/make-pack.mjs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e73df9efb05554132f606c3f31aff9b8f039f8c5fe736ccbec7d63e2a2f503"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/pack-common.mjs:91 \u00B7 scripts/pack-core.mjs:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-common.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"be045ec5cf317fd78937227e334a31a604e3c1640160c9eaab4206beb3a67899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): scripts/verify-tab-detach.mjs:149 \u00B7 scripts/verify-tab-detach.mjs:171 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc8e454dbb310393de55b4cd398616b3689cf389914861c09daeb343222362b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): src/core-npm.js:109 \u00B7 src/server.js:7050 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core-npm.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a930e129cf2b8806175323c5c85bc060d752626081f859018096cb222bb6025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/filemanager-windows.js:115 \u00B7 src/filemanager-windows.js:130 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/filemanager-windows.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac9847210169f20e1a7de3a9a8d0a2255cc45c4bdc06019f8b143f09b243f06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/server.js:10614 \u00B7 src/server.js:10637 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10614}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d23d5696adf9834be917f3beeb811ed776da37a770ef603858adf107a9c08b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/server.js:11021 \u00B7 src/server.js:11068 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11021}}}],"partialFingerprints":{"codehealthFindingId/v1":"081d4ce761c9e469d29998f771acdf4a42c25862e696a5afaf60211396077045"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/ssh-core.js:134 \u00B7 src/ssh-core.js:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7045c4dfda701299902812c55845ea6e98297b20d0cb347f46b13c8e152d0345"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): src/ssh.js:220 \u00B7 src/ssh.js:226 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a58841e54e24dd4a55b65f1297803a4187843d283388f07d003ecd478bb0559"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: npm-package/lib/core.mjs:7 reaches into another package with a relative path (../../shell/core-fetch.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm-package/lib/core.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b044e38b71eddefcb0a1ac27bca7fa02149979f32f05c07b1f8a2ba0d5866a02"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:8 reaches into another package with a relative path (../shell/instance-views.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"667154ab73cf235be540c2d6b936d7d9416b30f2f06e55c3ce8cde40afada34f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:9 reaches into another package with a relative path (../shell/instance-window.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed5d10c0ba849b94f465079d783cd7b462c658381b90454793bcd0dd4eacf43"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:10 reaches into another package with a relative path (../shell/tabs.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"00163cfea2263b01b6188ad25f5f8b5e7c474b58d12cf88038913e12e0dbdedf"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:11 reaches into another package with a relative path (../shell/browser-guests.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"56026999695e6a80691d0330b9e24aba452a030e326436bcdf24484df30e6b2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:12 reaches into another package with a relative path (../shell/tab-detach.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"114c715f886be87afebe59fcd34f200f5be7db17218a1e8f0016d6e3d7d255e9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:13 reaches into another package with a relative path (../shell/tab-drag-session.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2fda228698df1ffa75f0f013487fb47ad0d072ecead1f912ca56540d81bd59"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-detach.mjs:14 reaches into another package with a relative path (../shell/model.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60216653eb35ca3038e7240bef5afa66a68902c8ea7b7199e5e6a15016079e4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-groups.mjs:120 reaches into another package with a relative path (../shell/env.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-groups.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a62adb71eb9bd3f5fde5c279bc643a09a2246faa39e8b3385108c7047c017ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/verify-tab-groups.mjs:126 reaches into another package with a relative path (../shell/main.mjs) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-groups.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1341d3853f7f40e52874e352b8943988907ed965ea05184857c8422c01ba51c0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/core-fetch.test.mjs:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/core-fetch.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-fetch.test.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd31c410e2f58bd4357e221438a890a311c3ecdf86cb3b88f464591b3d3e3e2b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/core-recovery.test.mjs:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/core-recovery.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/core-recovery.test.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c83d85456048a5ce918d327ae042bde879be39882ede6d43188fb1fe9aa01"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/helpers/tab-drag-hosts.mjs:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../shell/instance-views.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/tab-drag-hosts.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d649485cdcb1265f8b016e03637d1427ee30f4c45efa71cd183be75287a79e17"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/helpers/tab-drag-hosts.mjs:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../shell/tabs.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/tab-drag-hosts.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a14d64bfd71f8a17bf24913338b98b19843b39bed38e7cf15fcc1eba3a16ee"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/helpers/tab-drag-hosts.mjs:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../shell/instance-window.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/tab-drag-hosts.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1e95a8f50ef0a21c9c8023f9dc22d17a51fa27f4165ea199d7b06008960d7f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/helpers/tab-drag-hosts.mjs:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/helpers/tab-drag-hosts.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7312a833a33e547cbb1b66aaae818e93a73d242444426485b7dc60a9c5fce3a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/instance-views.test.mjs:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/instance-views.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/instance-views.test.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"742b4e680499dffe6681d1300b6414261c3c5c4b1244800b19896ab393d2a5dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/instance-views.test.mjs:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/instance-window.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/instance-views.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2764fa1b0d19ecbe25aceef02b74f908abed10ae475e3cc6f16d494ea7d7ef0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/instance-views.test.mjs:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tabs.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/instance-views.test.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6e120995bff68ac014948e5445e31efd8c1bfcdb0b5820ac1aaa9af655272c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/instance-views.test.mjs:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-detach.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/instance-views.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"506f10d847303858f6a6efa794badf5d3681bf77c66b464b278996c8d1800b36"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/platform-launch.test.mjs:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/relaunch.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform-launch.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dba5db84c3baebeaaefef88db8d42843799d34d80a2e76450446d4ee13fc88"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/platform-launch.test.mjs:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-detach.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/platform-launch.test.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"95579c329828cafa3a5da7be381fd751faf6a74005642932111d0698ef6719c2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/quit-confirm.test.mjs:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/quit-confirm.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"129e9062571c5249892f074c7a482e8152f77df94395ede39d5db9236f8d9afb"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-desktop.test.mjs:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/desktop.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-desktop.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"243be537cad14e9b103f4c4607d012d010b1ce67c3a1408b331b75d8574e6452"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-model.test.mjs:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-model.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f388d0216d2908c448536b0b0703d59ab4ae6e0d3a1a26a403bb6cfb5b7adc1d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-model.test.mjs:29 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/pages.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-model.test.mjs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30c3228a0133e56699bac85b070722d382f7d2edafbc7641ed7f7eba64a13d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-prefs.test.mjs:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/prefs.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-prefs.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfe4e8343ddc95f43add914884d51d9ab83a5fabe0cde1024cd13c35085c0d8"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-split.test.mjs:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/pages.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-split.test.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0658da9420e9fde9b04fb40e043e81ed572658356ef86d6fdb827e4df08ad2ba"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-window-recall.test.mjs:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-window-recall.test.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f347b3b99eb044ff24f77b914bb287020ab54e78eb762dab1cdb76e132f965"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-window-recovery.test.mjs:14 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/instance-views.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-window-recovery.test.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"31300b0b40e9d16d24910f21a6ceeefa81e7be28ffe637597dc682a36dcbc610"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/shell-window-recovery.test.mjs:15 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tabs.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/shell-window-recovery.test.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d075c5504a416495724d354c46cfccc7f0eee1e6bf878dfa92ccf1598228c44a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/system-prefs.test.mjs:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/prefs.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/system-prefs.test.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f20e1d5b8dc587202ff5cdf5010b5cef25d12fe0e96fa3bff6d4f82641810de"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-detach.test.mjs:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-detach.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-detach.test.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b53694b3daf7befd32da0c088dd3b1c484d1fbc8e5f2229fd4dbd2acda12232"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-detach.test.mjs:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-detach.test.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"da26f6120f2fbd1e990a76700c02f91ba865c1e6a4a9ed7fe7afface6d8021ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-drag-regressions.test.mjs:7 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-drag-session.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-drag-regressions.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a54437bece9d628ccae89feb4bc46dd0562b8aae9376f990170ae549b87edf1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-drag-regressions.test.mjs:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-detach.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-drag-regressions.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"655781aba581d8698d606316de48224e77fcccf2c983a6e219eb6b218570c4c1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-drag-regressions.test.mjs:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/pages.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-drag-regressions.test.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1ec8e8f860cd67f89cf1ac201ed5cdc95af59e1471ad33f6b7644659310694"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-drag-regressions.test.mjs:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/model.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-drag-regressions.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a65a95c638fe8738d537e87f627563ac03099e15698540e40c5b75f3378cce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/tab-drag-session.test.mjs:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/tab-drag-session.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/tab-drag-session.test.mjs"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3160b29a705e7914a86adf91bd68be033737d858a5c7c9bf18deffb43e2436cd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: test/window-fade.test.mjs:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../shell/window-fade.mjs) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/window-fade.test.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d9c0cc429c7225df36202cad2db1642221820aad80301cf676b74ad2e89e11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleApi (cyclomatic 719, cognitive 1116): handleApi has cyclomatic complexity 719 and cognitive complexity 1116; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9940}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92cbb75d92f849139ed4ad0d86a53b81097700d72438c7f0bfb154fb98bbb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveLaunchPresetNow (cyclomatic 124, cognitive 134): saveLaunchPresetNow has cyclomatic complexity 124 and cognitive complexity 134; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadb9818dc5e178c23acad638428287b3e6dac2b7c4b5002494c9e2527378102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 122, cognitive 193): main has cyclomatic complexity 122 and cognitive complexity 193; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-probe.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7068b315afd844b946190fa7dbb1b2836cb37bf60491fc54f3ac7bdea080e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveManagerSettings (cyclomatic 95, cognitive 129): saveManagerSettings has cyclomatic complexity 95 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4403}}}],"partialFingerprints":{"codehealthFindingId/v1":"816d7261016d21ba2d00d8939b8ffa154af3071fb8c283fdc9d56c4d00b8c756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTabAction (cyclomatic 83, cognitive 79): parseTabAction has cyclomatic complexity 83 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b150a9ad00315f53363222420400695e445f967cb430d800ac238914aae7c3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRepairPresentation (cyclomatic 73, cognitive 138): buildRepairPresentation has cyclomatic complexity 73 and cognitive complexity 138; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef07c1d32b18fe5d4c2561c847db3cc5e45b6662205a0284be9874e333f98d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeCommand (cyclomatic 71, cognitive 86): executeCommand has cyclomatic complexity 71 and cognitive complexity 86; 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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca2fa256528122cf35ea98bbce4cbb5e77553079fb0abbdff4c779a16d334d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateInternalTabs (cyclomatic 65, cognitive 68): updateInternalTabs has cyclomatic complexity 65 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f6de0cdaeca0c4e4ae8beb1f7200fe58cbc5b5ddb8d7f903acec13a0e52989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 57): (anonymous) has cyclomatic complexity 56 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"46535114286c8c675c9c02303f016f7aad85e4a89cd8804b5f87af735ea4d5bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRuntimeEvidence (cyclomatic 56, cognitive 53): readRuntimeEvidence has cyclomatic complexity 56 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96c03c452a252699eafd4e1349e38bf5d98241d7152b0ea6cfa0e422565b91d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarize (cyclomatic 52, cognitive 77): summarize has cyclomatic complexity 52 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/perf/plugin-profile.mjs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0351a74b3f4b2a359d4e2a7477767d11d042d54a97a4932bf572c97526edb92f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 46, cognitive 80): handler has cyclomatic complexity 46 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11660}}}],"partialFingerprints":{"codehealthFindingId/v1":"810267742a89dcea0c8cf5043e4acd873a4b6b9df77272a4a2166df7f01c17b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildConfig (cyclomatic 44, cognitive 65): buildConfig has cyclomatic complexity 44 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65dbeb749091e32cc497bd7d894c9cc5a8b6043ce90a35ef1876b09d43be485"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildContext (cyclomatic 44, cognitive 48): buildContext has cyclomatic complexity 44 and cognitive complexity 48; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62bd48591aeeb54371e5b096edd22cc66712f0de5c62480a82976196b1a8287"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runConnectionPrepare (cyclomatic 41, cognitive 56): runConnectionPrepare has cyclomatic complexity 41 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9657}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d48a8ca4e8f19c2787eed9437dadeab0a24cb173939e1ecd4b2845e077d37a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseActivation (cyclomatic 40, cognitive 70): parseActivation has cyclomatic complexity 40 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c4bc998b9d8b511f5c7944f46c468b2a00645d2180288d86388002e81547ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSettings (cyclomatic 40, cognitive 52): validateSettings has cyclomatic complexity 40 and cognitive complexity 52; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c08938534d2e0e98d4089daf2f81dde7031f053fba04295babe9e6d17335ed4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SyncPanel (cyclomatic 36, cognitive 40): SyncPanel has cyclomatic complexity 36 and cognitive complexity 40; 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":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65ffd052d1f49b7c1b90ea259a3abd333ac9b7fbaac6534dfd1d91a8a932e65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveSettingsNow (cyclomatic 36, cognitive 40): saveSettingsNow has cyclomatic complexity 36 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"10181a9baef972d85ddc6911909f089b7ef051161ebc0fd0644eb5b5f837d60c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bootWslOnce (cyclomatic 36, cognitive 39): bootWslOnce has cyclomatic complexity 36 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7899}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d258bab3dd326ccb4e5726757095198d5000c5845ef60c7fe061e90456d700"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSync (cyclomatic 35, cognitive 83): runSync has cyclomatic complexity 35 and cognitive complexity 83; 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc89f852cd93004dac27df624278a9879fd7a6bb4a291a4fa985cd8cea4aa279"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSync (cyclomatic 35, cognitive 83): runSync has cyclomatic complexity 35 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1822}}}],"partialFingerprints":{"codehealthFindingId/v1":"71996a326912f8dddab2dc05d11a54a81d3493af16fb6fb43ebfe07a3abfeca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 48): (anonymous) has cyclomatic complexity 35 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"faec1a8b5365d77c1fc2c7327c1c22fa993f68b3afdebced99b51aa695bf893d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 35, cognitive 41): tick has cyclomatic complexity 35 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fab313a39c7a9ea8614667d20614c79d38f66821e0aeb0c464fa221623518be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRemoteViaCore (cyclomatic 35, cognitive 38): startRemoteViaCore has cyclomatic complexity 35 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8226}}}],"partialFingerprints":{"codehealthFindingId/v1":"91878752cd5110c74acde0bd97eab84d82c222de91c8582440bb40d128547413"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkData (cyclomatic 34, cognitive 83): checkData has cyclomatic complexity 34 and cognitive complexity 83; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb0b176b5a5628528520863e8eddbe7c32488ecd091316d8ca204df1e3e005"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseManifest (cyclomatic 33, cognitive 54): parseManifest has cyclomatic complexity 33 and cognitive complexity 54; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f659f5e96552e2fc57a628dda075e01b26ffc872fd3e28997c20e13ddcc57ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 33, cognitive 36): tick has cyclomatic complexity 33 and cognitive complexity 36; 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":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b73226ba3bfbd17f9a151114550ec3050ea875e6ce32412434674c8dd3afb18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declaredService (cyclomatic 33, cognitive 32): declaredService has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b136fdcab1a2806b7df978d11e54d194acb81b265d9dc7ff39bcf0df4a1c8f07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 33, cognitive 31): validate has cyclomatic complexity 33 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c2db79ca24b6d0b02fefb863fda8919b699d68fa96f8c56479d4014c1e4731"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function report (cyclomatic 32, cognitive 39): report has cyclomatic complexity 32 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3a83ea92e7ec8df9f0975cadbfb7b941ad05a29e2c110c97990b69ae1436c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPlugins (cyclomatic 31, cognitive 49): checkPlugins has cyclomatic complexity 31 and cognitive complexity 49; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ac3952ace5762dd39f110f80e8d7b79426b80f9be1623218f722436239c853"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dependencyRemovalScope (cyclomatic 31, cognitive 37): dependencyRemovalScope has cyclomatic complexity 31 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d046b6431e3fee47b1d8917f5f133883289a874bf52b5da7cd39c2bca73c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServer (cyclomatic 30, cognitive 47): startServer has cyclomatic complexity 30 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11599}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d1ced3eb28458a5c0b0b90173a19c3b592b80cbc2e1558a58803e569d88a7f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeConnection (cyclomatic 30, cognitive 36): safeConnection has cyclomatic complexity 30 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f397a1b9c68b930444121d158c66343166d48ac5397b665ac4b5bad2ef3ec1f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectWslDistro (cyclomatic 30, cognitive 33): inspectWslDistro has cyclomatic complexity 30 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f513c11085372cebca5b15238dba01d20c342964d7f72ec5a62caa5e7d3c686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classify (cyclomatic 29, cognitive 58): classify has cyclomatic complexity 29 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f6a75ba7d30b29531b0cf2915dbbd46e366e1e07cc027e6bc98abf4900f07a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkInstances (cyclomatic 29, cognitive 43): checkInstances has cyclomatic complexity 29 and cognitive complexity 43; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d8152ec813ba9462ccc5b07f7852bbbde60d0442f857084c6d6b6a1ad39fe7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveConnectionFromBody (cyclomatic 29, cognitive 32): saveConnectionFromBody has cyclomatic complexity 29 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9421}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95a9dc00bf19e1b8108f5ec17693ceed2cdbeda02e36ac7669386a04b9c8e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportEnvironmentNow (cyclomatic 29, cognitive 29): exportEnvironmentNow has cyclomatic complexity 29 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4085}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4817e0daaba093fca02bc830b067beff8ec2c1e0865c07c3cb6c22b764c3667"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageSnapshot (cyclomatic 28, cognitive 49): pageSnapshot has cyclomatic complexity 28 and cognitive complexity 49; 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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"545a9519d02f20cc70943f04af73400b0caf1a1f096aa0931950c9b18d603911"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 44): (anonymous) has cyclomatic complexity 28 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8713}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe20a2c353ea54e334b9462d43227f2546d9dc11733ced8a82046acc4a2361d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutate (cyclomatic 28, cognitive 41): mutate has cyclomatic complexity 28 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6976c7622016906e64f58f64164f74cc4907ba029bd2508a8e0b89d18019c07c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 28, cognitive 38): update has cyclomatic complexity 28 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5eee404f7d103b82b7492a517066fa58d9ffe1b4cae66706714bea9e63ae369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkEnvironment (cyclomatic 28, cognitive 37): checkEnvironment has cyclomatic complexity 28 and cognitive complexity 37; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b35788762ce6c2d48a9ea30027c69eb8d9945a102ba38fc4d8289816c093337"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preview (cyclomatic 28, cognitive 32): preview has cyclomatic complexity 28 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"099f922032387cbca410f092f27b7d4804b85db8be63a3d75050993e05558424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTabMessage (cyclomatic 28, cognitive 31): handleTabMessage has cyclomatic complexity 28 and cognitive complexity 31; 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":"shell/main.mjs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c1180f46931b0a7d535d5976c693e47f6a608aa9f16b0c0e2484963630b8fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function earlyImportSnapshot (cyclomatic 28, cognitive 20): earlyImportSnapshot has cyclomatic complexity 28 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d5dd760680a0fa17b04514a5465b684bbbbab4c85706437d88e8649981d598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSkills (cyclomatic 27, cognitive 49): checkSkills has cyclomatic complexity 27 and cognitive complexity 49; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cab8dd910d0b3e498e92a66c1935098a39eea280b1aa321879ef4ffb002ba9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectionDraftFromBody (cyclomatic 27, cognitive 27): connectionDraftFromBody has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9901}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85ac728d1d9ed823938aeeaa28b2db8a7e3c2a17fed2594db6cced523cc8d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNetworkConfig (cyclomatic 26, cognitive 43): checkNetworkConfig has cyclomatic complexity 26 and cognitive complexity 43; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7ec32192b134fd0cbd95a5412312f5866abd1dbbba1f0b0836434af05c8080"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 36): (anonymous) has cyclomatic complexity 26 and cognitive complexity 36; 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":"plugins/dsh-x-sync/test/fake-webdav.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3c2bad5e47cd93e2aeb26ba93116614fe63c36195670b6a3e0a5984976d2f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 36): (anonymous) has cyclomatic complexity 26 and cognitive complexity 36; 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":"test/fake-webdav.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"731019bcd7bc314e355c7d66276ef118379744dc3a5952e0bcc2c120e245d0ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bootOnce (cyclomatic 26, cognitive 30): bootOnce has cyclomatic complexity 26 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7568b1d7186a607a436cec630e4ea7fc35342dc19aac05d1b7b14b009b61305"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeStdio (cyclomatic 26, cognitive 26): probeStdio has cyclomatic complexity 26 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e720a64ef9203faf5b56fa218c58567421868fa591116a4754744f973afba71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 25, cognitive 50): snapshot has cyclomatic complexity 25 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cbe1b163d128c4113dcea14f3515207a546dc9287fe82e05875d67d5ad6b2cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loop (cyclomatic 25, cognitive 49): loop has cyclomatic complexity 25 and cognitive complexity 49; 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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d59d38ab9222736d204fce7da6d25532dafeab572b57aeeb6e3866f0ec49401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkManager (cyclomatic 25, cognitive 34): checkManager has cyclomatic complexity 25 and cognitive complexity 34; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bcb69b247d05d225c8eccb7c2ee08a86708fa00e59042b041851250528ae7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchCompound (cyclomatic 25, cognitive 33): matchCompound has cyclomatic complexity 25 and cognitive complexity 33; 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":"test/environment-header.test.mjs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd754e64c410d107abcfdf8cd1cf188b6bd6b8bb762a539b6a7cdde4d0bbf9c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profileFingerprint (cyclomatic 25, cognitive 32): profileFingerprint has cyclomatic complexity 25 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-plan.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8debba844406c25cc3bd359cd6bbaf51bf2130392810adbca5957ec131d1ee81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 25, cognitive 30): parseArgs has cyclomatic complexity 25 and cognitive complexity 30; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abb511e110d70606acdee4e77584748dafb0b5d25f5b09b59920671eb42fe33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandComparator (cyclomatic 25, cognitive 28): expandComparator has cyclomatic complexity 25 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/version.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4b0cc3544c8b700fbfd5c41ff8c1ffd8c275f65489f3be722661b1002ba988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollback (cyclomatic 25, cognitive 27): rollback has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbcc3d1156952ee27d00bdafdef345c3e193c559d662264244e7806c0806e51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stop (cyclomatic 25, cognitive 25): stop has cyclomatic complexity 25 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9203}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f6710dec536ac0d781dee78269122ab90579d8e1deb2ca636dc02094d7a2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMarketEntry (cyclomatic 25, cognitive 18): normalizeMarketEntry has cyclomatic complexity 25 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7c2d2164f1b10656d6011c681149625988e188191e8397ef4f3e985dda9123"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unloadedImplementation (cyclomatic 25, cognitive 13): unloadedImplementation has cyclomatic complexity 25 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c7a9e75cfbecba4e09c7870234a42e0e2155cc799f702baabcdfb923cc73a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSkillImport (cyclomatic 24, cognitive 36): prepareSkillImport has cyclomatic complexity 24 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc091e67d0ca435011c1ce23b08f6cd27af7aa2ec38b40816a06ba0417e8cc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopTabDrag (cyclomatic 24, cognitive 33): stopTabDrag has cyclomatic complexity 24 and cognitive complexity 33; 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":"shell/main.mjs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2ea86e00cccdd98853c4848028abf9d8ae038e4275efd09c611c3d416ba0af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZip (cyclomatic 24, cognitive 32): readZip has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zip.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edfc5712ea04bd7ed0341c66bbc099def7db0f05d98c8fcf14b9820d237237b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 24, cognitive 31): start has cyclomatic complexity 24 and cognitive complexity 31; 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":"shell/main.mjs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a0dcb79f7605e4f09a4bca7b0f95a59decd70f082112bd8d6b7c9ab56cedf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declarationEvidence (cyclomatic 24, cognitive 31): declarationEvidence has cyclomatic complexity 24 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e9861f37cfc67cfa750236340aa02d56995a7610485ad0e96e7d9f5321c57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 27): (anonymous) has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/test/fake-s3.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c3ea9c9d5848cfa5c4505da068f9836bac100de01195a245f5bb6347816890"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 27): (anonymous) has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/fake-s3.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39e838870b65cd1074816973748c846fbc3f188ac56f88b9897f6825cff0ed8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeManifests (cyclomatic 24, cognitive 26): mergeManifests has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"7266f7f171b90e60904c2ab5a8deea8e0e41fa55e7db6fa0f925e68d7dcab331"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeManifests (cyclomatic 24, cognitive 26): mergeManifests has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1967}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4b729820ed6bbebdf9cd72aebef281628e8bbd671825e4911c594daec42a68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareVersions (cyclomatic 23, cognitive 39): compareVersions has cyclomatic complexity 23 and cognitive complexity 39; 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":"shell/core-fetch.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c069e1291cda86a4a7f9bdd7e20be8ab0c5e006521614ee95055d9e6d89d9490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configurationSources (cyclomatic 23, cognitive 38): configurationSources has cyclomatic complexity 23 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7588f3670cd3011d03a86678ffed0b128e6595c583ea8bad4f11eeed4f40c3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkHome (cyclomatic 23, cognitive 36): checkHome has cyclomatic complexity 23 and cognitive complexity 36; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da8373a58f102b96170eabde397b229f69c22906f5753416946ce121a072fbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyInstall (cyclomatic 23, cognitive 36): applyInstall has cyclomatic complexity 23 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"90aea97aa77e9068b9f0963c0187a6f0b92f903a26a5383110527eebc23d38e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dialogOptions (cyclomatic 23, cognitive 31): dialogOptions has cyclomatic complexity 23 and cognitive complexity 31; 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":"shell/desktop.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25af9fb1ee3e2d1b9f579e042399a49227221225b4748742db74b2f4b37d30d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPlugin (cyclomatic 23, cognitive 31): addPlugin has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0d6c45653532194e523a5650eb043fd1aca85b223481f55988b80cf424f257"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureGuest (cyclomatic 23, cognitive 26): captureGuest has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"5149c4b279c178feb97a158e0cbc4d8660234b4473fa440452289fe2ae03bf20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeS3Config (cyclomatic 23, cognitive 21): safeS3Config has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d9c9aa6511afedce782c31db3ca90cce578874157a744356939fb0ecbdd330"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeS3Config (cyclomatic 23, cognitive 21): safeS3Config has cyclomatic complexity 23 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5d6543cab8707ffa717583ff196e7bc182a63a80bc556ab7d7a572cd307a0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordedChanges (cyclomatic 23, cognitive 19): recordedChanges has cyclomatic complexity 23 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"569a897a5282d3628042d5eedcb85a37ae2affb47619cbe59edfbe6ad28e6970"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeZip (cyclomatic 22, cognitive 45): writeZip has cyclomatic complexity 22 and cognitive complexity 45; 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fbe8227432d3d886e475fcdac16372f385a42a1f78a986a77f4ff1266ac3c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeZip (cyclomatic 22, cognitive 45): writeZip has cyclomatic complexity 22 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dec422400811b1560b9b3c695553f4add8b87b079b9103b94c26e75c616864b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInto (cyclomatic 22, cognitive 37): parseInto has cyclomatic complexity 22 and cognitive complexity 37; 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":"test/environment-header.test.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69f8fcc2b72d1a0de876a4b4e0cd746dc1d5f03632535f5f4b3e37db5e1b5e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2713}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebc767e0147b64837042020bc071037e311a81b7eda92f1f2e3c5bac84e998f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 21): (anonymous) has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"364a7a0e9a1404ed246bb78424113eacc9037480cfb8d436151558cf7ac149db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flushCoreSetupPaint (cyclomatic 22, cognitive 20): flushCoreSetupPaint has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f441e0877d35ab97b52e4cd216a44dfe24654061231c94d376848270b3af903"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trayAction (cyclomatic 22, cognitive 20): trayAction has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829ed5670a705038017e3421ae8870d5f2399103ec0bed0f594d0d902f74781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function action (cyclomatic 22, cognitive 19): action has cyclomatic complexity 22 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tabs.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"03036bf338a303d167a50c36182472259c731d8c912869e2dde01bf74c563a47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillGithub (cyclomatic 22, cognitive 18): parseSkillGithub has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5866b5cacedaa6b6c37d2411a5f651afd024f5e9ca512c55359dcdb262cd2f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presetScope (cyclomatic 22, cognitive 17): presetScope has cyclomatic complexity 22 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"67df14c7b3adbd56eea06c1ec3557671b233f3f7de5be402a4d8a88bc0d2efaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 15): (anonymous) has cyclomatic complexity 22 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd18b47b78eb9715752eb01c5b73563017268ab7665c3f776511dd5a6b40527"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishDrag (cyclomatic 21, cognitive 37): finishDrag has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"de43a7f10b43719ace5fc8fa52b2876ce692d768480248118fd308e05c232d2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkNetworkProbe (cyclomatic 21, cognitive 31): checkNetworkProbe has cyclomatic complexity 21 and cognitive complexity 31; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1641}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f26760c0d20775cbbb45de7fea8258f9d340f92aed7e599ac97e56036d4a9eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 30): (anonymous) has cyclomatic complexity 21 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/instance-link.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca60d33f7aa29c212eddf0e8548e2fa2a1d5f1ea90f787444467d77e018119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revealFrame (cyclomatic 21, cognitive 26): revealFrame has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e2fd64d8f40d154cad91296fdd34545ad6117ca3315defca8182d00a74c520"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beforeUnload (cyclomatic 21, cognitive 23): beforeUnload has cyclomatic complexity 21 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c420ba0f6ac66cb95913ed3460e5eac0ce4023f39c6f5865825cc40c84f4011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probeHttp (cyclomatic 21, cognitive 22): probeHttp has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ecc5f5be88bfbb5dbaf1f3728e4f48997765f292d9b1544fc7342e1e92ca97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5887816e54012a45791f2159ef116d74ba1850ce997ea40fa320f9799f53ada8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 21, cognitive 19): visit has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/diagnostic-repair.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"defb104729ad809f00a19566de5f596ae2829cd8f2c9f9bf77b3dd95552922ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeLaunchPresetNow (cyclomatic 20, cognitive 34): removeLaunchPresetNow has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f5937c84a0bec96e0f481b921752b5c01633bc3d852e20974755eff6b7e0b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMemory (cyclomatic 20, cognitive 27): parseMemory has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4853842d770ab153513b41d0c38624b9e81e542f031f9de8516d51c11708ae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickElement (cyclomatic 20, cognitive 27): pickElement has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec128321af1bc10791a6a5ad2cdaaecd379f3565881c493ea5abd6f6e0dd43f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openExternal (cyclomatic 20, cognitive 23): openExternal has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7940e44852c82ce019975968c6dfe8fe5b2db99c0c26d5e8cf2253ea614d293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshShortcuts (cyclomatic 20, cognitive 20): refreshShortcuts has cyclomatic complexity 20 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5942}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b9f27ff6238e55d4b6e3c4e1a9a29cadafe6cd8588da19f7c8aab9a1c6d068"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detach (cyclomatic 20, cognitive 18): detach has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0201d94fb9102c46f066536f00c8db70ceb7dfd9d248c527008bae42bdf5e961"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startWithRepair (cyclomatic 19, cognitive 48): startWithRepair has cyclomatic complexity 19 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8518}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f617c4432cf45c758cd235c0e37cb4d33504477a936fdb3d456950abd90d9aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatSnapshot (cyclomatic 19, cognitive 27): formatSnapshot has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8196d38e410569f53ff0dd3dd668dd0352181b67398d687fb68b71c5eb874"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProfileManifest (cyclomatic 19, cognitive 22): mergeProfileManifest has cyclomatic complexity 19 and cognitive complexity 22; 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1f759e2037cad99790a51124cda10a8be7e5bcc1a94ac49d4306aa01fdd41f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewSkillFiles (cyclomatic 19, cognitive 22): previewSkillFiles has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"886c71d38a2bab2eadcf3f15b5c36b1f44d38b22888b6191e75817145b1370d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProfileManifest (cyclomatic 19, cognitive 22): mergeProfileManifest has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"296b791e25abefcc48648e01197beeceacf7df00604860df8e2cb0ba8d925134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openPackSource (cyclomatic 19, cognitive 21): openPackSource has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52869c8fcc8a93641639e349c7c3bfeb852bd780a4486465c22da69980af721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pagePress (cyclomatic 19, cognitive 18): pagePress has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1dfd7d29fa52caa8aa0faf4c0f28db06341abbb15e47566f8098091ff2ed41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15900c0823b6e10eadbd6f7c9673a3abda839e0a7f102554560464c31c9ac66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryPanel (cyclomatic 19, cognitive 17): MemoryPanel has cyclomatic complexity 19 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/client.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"02aa60a472213652561d6be059f80d807eed66a26e3410338db79236c5d8e7c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tabDropTarget (cyclomatic 19, cognitive 17): tabDropTarget has cyclomatic complexity 19 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-detach.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6abc5df2b462c4761ec24266e8a8bd807fb4e39819a1be67fd46bf09d309138"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyzeLogs (cyclomatic 18, cognitive 37): analyzeLogs has cyclomatic complexity 18 and cognitive complexity 37; 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1714}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb001a5299cb4f86ce43072583588eedf33819264c3db7bc445acfeba5a2302"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reachable (cyclomatic 18, cognitive 35): reachable has cyclomatic complexity 18 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d251fb404faa41d913dbe98bd6204cbf97a68cbd42dfb6eca6631aadfc5eef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSystemNode (cyclomatic 18, cognitive 31): findSystemNode has cyclomatic complexity 18 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c046fcbb2457ff8e581fb2b52f26a8eeaac9462762b4ad242773ea0c0f00362"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 18, cognitive 29): main has cyclomatic complexity 18 and cognitive complexity 29; 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":"scripts/release-manifest.mjs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4abfb334fa4c3b86c5489ffa048916f228187d5c0fe9542d969128ee3b940f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommandPath (cyclomatic 18, cognitive 23): resolveCommandPath has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982f6183665d251fd47986537c2091ead8981479b1cc1a11e0aaf9c346dc4a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDialog (cyclomatic 18, cognitive 21): parseDialog has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/desktop.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea9056d8ea97259ba9ceb05723f1991f72a6ae9538d731ac69b57eef45ef985"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSyncJob (cyclomatic 18, cognitive 21): runSyncJob has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5271}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f0ab95d9f5548de6cf66b145523b9d27bed7294ee951f67a0b50af0adc3f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function instanceInfo (cyclomatic 18, cognitive 17): instanceInfo has cyclomatic complexity 18 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e54d5ad6ac4380e52317b0e279e98375749715c40803e3db0c60dd61dabcb39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyLaunchEnvironment (cyclomatic 18, cognitive 17): applyLaunchEnvironment has cyclomatic complexity 18 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3211}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62f3dbe11d731ff8b5631ec2dfc68c4d582ec85b4d146f8986b96007e7950e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureRemoteNode (cyclomatic 18, cognitive 16): ensureRemoteNode has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-core.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5b8f249f475d0c50a1c2f9c9ec086b18de41f575bb40214ff07e0c8e38ee33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseFeed (cyclomatic 18, cognitive 12): releaseFeed has cyclomatic complexity 18 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6216}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8c3f707b72b95909c37ee569cd9fbf5d56751fea94e9bbe943c989f1c1b345"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributePlugins (cyclomatic 17, cognitive 28): attributePlugins has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d5b42dd5ca9240d7b33099e87f6ee055c3e44f2065355d45ee1d90b75f12bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseScutilProxy (cyclomatic 17, cognitive 24): parseScutilProxy has cyclomatic complexity 17 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":"src/proxy.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"56128e1e20b96397e11650a21a03d2dc6402978434b1d6757bb1cea24e726e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function arrange (cyclomatic 17, cognitive 22): arrange has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"663dc22fafafc8d32c3b8f0b2876ffe5f1fa4571ded236d4ab9b987139330ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZipIndex (cyclomatic 17, cognitive 21): readZipIndex has cyclomatic complexity 17 and cognitive complexity 21; 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f94ebca4810f9e84035312cf4f9a5323d37305619acdabeb5d0c312c2e6fa3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readZipIndex (cyclomatic 17, cognitive 21): readZipIndex has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zipfile.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2762e08ea72e4b7375cd5e67a318eb670171ed4ed752ff0e20b31cbfe25e2ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoDisableFailedPlugins (cyclomatic 17, cognitive 20): autoDisableFailedPlugins has cyclomatic complexity 17 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8456}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3bfa8b86b196922fbeda62357a859322afd098e255003d9c58e759ce8822ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transferView (cyclomatic 17, cognitive 18): transferView has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"shell/instance-views.mjs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0154f072371357155538039e78ace77a3faa3a305879dcfef90897c0ea1414"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 17, cognitive 18): load has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/perf/patch-hooks.mjs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"20546edf3f982909ba69a63b4c2ee260900d54f18c24099b9857567be5193daa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b703045c8de9ab8cd216d5f13beaa844b73e9ec39d492aceb016d4ded19be79f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateReportHtml (cyclomatic 17, cognitive 16): updateReportHtml has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b207d418839b2322e7cf0387eda1a0dd5188b50fd7d6534fdbb0019b2e19fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setInstancePortNow (cyclomatic 17, cognitive 16): setInstancePortNow has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2326}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb53fef78a1b09cef0081f524fdb64bc8f80b64216305f5c021e1e0b38a3bea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startTabDrag (cyclomatic 17, cognitive 14): startTabDrag has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"b484a2d3d720e2f33c799916748485a6864e3563909437241406b45528c168b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeFetchError (cyclomatic 17, cognitive 14): describeFetchError has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6978}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d2a10fe147a5d22d7e3fc0c0542595ccf61037201983346385575be09270f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameProfile (cyclomatic 17, cognitive 14): renameProfile has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8697}}}],"partialFingerprints":{"codehealthFindingId/v1":"453ab0c4cbeba76fdda1ee98817dfa60f169313c3733d333720234f88749c928"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWslProfile (cyclomatic 17, cognitive 14): readWslProfile has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d2b34aca9b84cc16df75188194e658e281cbeb28743c2194fe017bd783b302"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAuthenticated (cyclomatic 17, cognitive 11): isAuthenticated has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/manager-auth.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3af1ff945aa9110125dd56e7c79f9f7fc6422ec541e2f04c5363259994a48f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 16, cognitive 23): execute has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d603c143e767ff3709c09b77a1e72a4a77413342923af5def1fbbe4799c330"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadSelfUpdateOnce (cyclomatic 16, cognitive 22): downloadSelfUpdateOnce has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcec3c62fed6c9a4749051574b2c4af60f08a987b9c6e15afc9a51679ece5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConfigFile (cyclomatic 16, cognitive 22): parseConfigFile has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0086f393b12c5fbc089ffeb68dc9fafee1c8c89b60557ef67dee811ea4ffda16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tarballFiles (cyclomatic 16, cognitive 21): tarballFiles has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcb3b4d8fed298f590061b54fcf399e863d902b1b687a092503185c8675977c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMcpCommand (cyclomatic 16, cognitive 21): parseMcpCommand has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82245c853e8c17dfda20dcd2ea90a037d5c68419551a44ae577db6fb4957c98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 16, cognitive 15): main has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/apply-update.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ad7058e9fab36479acce7a85375cf26ea5cd0fa5cfc50130ca5bcb0ae5c6ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderView (cyclomatic 16, cognitive 14): renderView has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ea951f1a9d58f0921789e5b9b4592ba4fdd43153dd537c2eed6c37c084361d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkAppUpdate (cyclomatic 16, cognitive 14): checkAppUpdate has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5982}}}],"partialFingerprints":{"codehealthFindingId/v1":"3502b52e5fbbe74d6fc0225e6d54b073a535d0ab87e3a96c11a8cbc52a01d957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function instanceTargetFromUrl (cyclomatic 16, cognitive 14): instanceTargetFromUrl has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9104}}}],"partialFingerprints":{"codehealthFindingId/v1":"969c00fce126b34dd970c8dc443965fc5fde512c8b83a5dd0b5b639f42cee092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRemoteProfile (cyclomatic 16, cognitive 13): readRemoteProfile has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-profile.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4101abbb9507217c150933218496c9c45175d2ad349fef07d0c7c301dbba291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addLine (cyclomatic 16, cognitive 12): addLine has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"23feb2bb301d80b60735f2e91e6c2ac2fadbb8abde4e2208c40377199095ecb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 11): (anonymous) has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e57676c7d52679b727989e1e65c60d7f9c136e12d7afbd986a0691ed4a40b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSkill (cyclomatic 16, cognitive 10): createSkill has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf062b767fd50b0f58d5559b4b49c5e3af8e3f1a304cdc93d8d7175dbf921a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planSync (cyclomatic 15, cognitive 34): planSync has cyclomatic complexity 15 and cognitive complexity 34; 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"498c1631caebfddb48b6fc4a696d471acaaae119c39ef05669a609bf6c0a829c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planSync (cyclomatic 15, cognitive 34): planSync has cyclomatic complexity 15 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1579}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d87c623273b4827352760a5bffd48a7f6b2877484b853af3073f28ca1e415e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 30): (anonymous) has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recovery.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe29634c736f3bfdd6ea20f94b83fbac09e63839b559d989bef3386dc8ac0e21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markupTree (cyclomatic 15, cognitive 26): markupTree has cyclomatic complexity 15 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/update-channel-page.test.mjs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95d6f0b3f2b4039957f2a638686dbe58fcbf5cd79dec26275619c3a283a424"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentInstance (cyclomatic 15, cognitive 22): presentInstance has cyclomatic complexity 15 and cognitive complexity 22; 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":"shell/instance-views.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07a3bcc1f6612433bdecb91143e3d206cb2f500952392860c4d393b92f48e0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 15, cognitive 18): update has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"shell/main.mjs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9ce94599235785e6531ee04f34d18d5b90da513776101553292d3adff6bbbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 15, cognitive 18): load has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/session-events.mjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d6ff3c5af10b37ed2d8dca9051364c8efd2ab0b5412c6f189e8227925b8c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function present (cyclomatic 15, cognitive 17): present 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":"shell/tabs.mjs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bf30e0b5c2300abc787c38d65b428adb78ef904a02a9c0d1bffc5c32782b7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 15): run 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":"scripts/verify-tab-groups.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1371ea1accc1e12ca3a5a4bfb5c0b2bb06a55da7d369310fae3fe74f50b08b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintPanels (cyclomatic 15, cognitive 14): paintPanels has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/panels-block.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64a0c451bbc9f800bd5045d0a7b7206f3bb2df64274f08010344dfac642f135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeSource (cyclomatic 15, cognitive 14): describeSource has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4e0c4b6887a3a98dc5053fb0a15b96e47c8fa7cd9b7c257831b55f1194bd4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeSummary (cyclomatic 15, cognitive 13): describeSummary has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"2907dacd8b489538a5230c7848a2a47566da1cda9fe285b21acd624e1532aca7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startWslInstance (cyclomatic 15, cognitive 13): startWslInstance has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"7596edb0eb220d6bb98d91794ffb20b6bed4e2088d11f322eeb118bc4c073166"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createProfile (cyclomatic 15, cognitive 12): createProfile has cyclomatic complexity 15 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8871}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc40b820c088699494e79c56b5ff852b9203c13587caa127a1de815de1105e0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onLog (cyclomatic 15, cognitive 11): onLog has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b4628b363f07f40f988e9c86aef82e9ed346282775e5ff2afd1027ff4232d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drop (cyclomatic 15, cognitive 9): drop has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tab-drag-session.mjs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7627ee1410091084e8cccfafac523c165773d032b417bd435369ccda48c2006"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function search (cyclomatic 14, cognitive 25): search has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcfaefd8504db1498e945012d39a1df198fddc7bdc15b58547b4ed2f499c8e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tokens (cyclomatic 14, cognitive 24): tokens has cyclomatic complexity 14 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":"src/configuration-evidence.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7649bd1f91d7c53dc0da2f284a84863d805f5079da1481b9034050ac93b5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadToFile (cyclomatic 14, cognitive 23): downloadToFile has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7043}}}],"partialFingerprints":{"codehealthFindingId/v1":"576bbdabfdc24da2be6e9a9c76134b974b96e78c34aaba5d3784eda6f7fd380c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function optionalAnalyticsProof (cyclomatic 14, cognitive 22): optionalAnalyticsProof has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/optional-analytics-proof.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdead49edcb35cb9bf380a38f5b13a03e3466789afff50fa830f8a327472536"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanBlocks (cyclomatic 14, cognitive 21): scanBlocks has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"171dd60b3f4477094c5f6253e30779c687fa0b6017a51198ee98ed983e9dacc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 20): (anonymous) has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"739582fb02a37181286508f05069cc5fb3c7efb0b3c1a06558928c91e7640c4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanSkillRoot (cyclomatic 14, cognitive 19): scanSkillRoot has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec92b157dd921df638efac722217dff2f0d1ea56964a8c9af03b0c9c19ad9d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadCoreTarball (cyclomatic 14, cognitive 18): downloadCoreTarball has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core-npm.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12539d3bb7e48cc81b2a4dbb6db10b4edec1479fefa3a7e38d3009e19022a50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exportDependency (cyclomatic 14, cognitive 18): exportDependency has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4000}}}],"partialFingerprints":{"codehealthFindingId/v1":"67139934b49986f472381169fc5481dc663323644db63bf25bcfdc0694374fd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queryOpenSsh (cyclomatic 14, cognitive 18): queryOpenSsh has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfe18966d3346b8f96d17a5290153cb9d61be00107dba3fc252dd2a2e7e606a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCompound (cyclomatic 14, cognitive 18): parseCompound has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"test/environment-header.test.mjs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f2fbe1619ef160ebe30cec8df9aa25438574b1d1f0e51d2608127a05231298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function follow (cyclomatic 14, cognitive 17): follow has cyclomatic complexity 14 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":"shell/instance-views.mjs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d501c395b9b651c7129ca5c8fc2ef6c03f525f7869e0fd02316e3b34be32061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeFrontmatterIssue (cyclomatic 14, cognitive 16): describeFrontmatterIssue has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ed5976897df5730c22512d0db4c9f8aeeb9964a59e5aa4bf10e0277a085a46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeInstancePorts (cyclomatic 14, cognitive 15): safeInstancePorts has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee0f344b5d1700e8423580361199fc9a3985a0a8e8801afc743ebf6029e57f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverCore (cyclomatic 14, cognitive 14): recoverCore has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-recovery.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"391e38cc94de3fd5ae72bc30e92c85ea35b1de87cc60114e3c3a2461003f932e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function desktopDialog (cyclomatic 14, cognitive 14): desktopDialog has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ece17eb4e65259dfe7a54e28d548d5a6acf26b23843d98e18f087cc45c1ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openLanProxy (cyclomatic 14, cognitive 14): openLanProxy has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7601}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae00d02e1692b37edd910e976b9f7182ea8394b719a36070e42a282a2ad6220b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkLogs (cyclomatic 14, cognitive 13): checkLogs has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"95169e9b31bfd7c704b563e97cd5aa4cbea5a69efbd71668f2c067f3acfdbe8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 14, cognitive 13): send has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d11b28398c20096626819cf1a90d9ac1fb6ae2a1bcbe5e3ca35a026c7bf58b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/internal-tabs.js"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e5c1a7432c4db80e54ebd99da9b7fde9d01c3587e153afeff5db791175d2c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function diagnosticForAttempt (cyclomatic 14, cognitive 13): diagnosticForAttempt has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a8f004ae895945c192500eb8626bce612f47f30d7f61b9298ec8d7d844b879"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptedPatch (cyclomatic 14, cognitive 12): acceptedPatch has cyclomatic complexity 14 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"919ab30356cff493022f6b81c75469674cf1f53ba8a022112de90394af58bf62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function internalTabTarget (cyclomatic 14, cognitive 12): internalTabTarget has cyclomatic complexity 14 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":9078}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a7d2d1eff7b29d763886c5b50d6b3b2a3fbccdc981d139ad44cae5758c7682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createWslBackend (cyclomatic 14, cognitive 12): createWslBackend has cyclomatic complexity 14 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dabce9ea624ebe6581607f92594e6c115cde253f7555a6e44320fe7f788a4c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inferDataDir (cyclomatic 14, cognitive 11): inferDataDir has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"8034bd0b62f4e6fa33e685b2bcb8a1633a3889021740afb08a4428abb60d87e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeLaunchIcon (cyclomatic 14, cognitive 11): safeLaunchIcon has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"449f231169f704b871f704ac8dae29d577e9fd736bf900c30d14df57259a353a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameIsVisible (cyclomatic 14, cognitive 10): frameIsVisible has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ef4e71f915e24a307f6d7300586ac05e40982f4f294d3d1ab286f47697f0ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSystemNode (cyclomatic 13, cognitive 26): findSystemNode has cyclomatic complexity 13 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/env.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"da829b351f8f2dcffce96b384e16ea5f483955451133f08aa0249be27a6042e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 25): (anonymous) has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/environment-header.test.mjs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"766efce9f06fa13c6728ea3d043bf35c001104f5ca0227ef5b35c03d375a6949"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSkills (cyclomatic 13, cognitive 23): listSkills has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/skills.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bb0f528695779f1ad9a33078f7c87d670f116e015bee4649b8966e39ccb005"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkippedBundles (cyclomatic 13, cognitive 21): parseSkippedBundles has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/startup-diagnosis.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"592b626905c93f631250d94ed2daaea0378db23b3f4668245a602f58ee2499b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stringRecord (cyclomatic 13, cognitive 20): stringRecord has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba0d6829d1a3e67e0c6b27c85819d3e53c8a72f46d6df17bbcbbd02d3a128dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageWait (cyclomatic 13, cognitive 19): pageWait has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8ebe3a11e4dfc54461c9ed4ba774df38f16f45bf485973ce6588d1cbb4f30f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeReconnect (cyclomatic 13, cognitive 18): normalizeReconnect has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b035ee9a28ecff3c8d754c71a5a87fd6248ee0ca031924c4c0fc37bd5b2b6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"test/environment-update-api.test.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"adde486b122214ff7f391b456c7cb67224ff40334df6e08a7f3382797219e6c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordPackSources (cyclomatic 13, cognitive 17): recordPackSources has cyclomatic complexity 13 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":"src/environments.js"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ad9a914dbf96ea273506fb5fe75525216c37c44e215f9759b5038036c5a4d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packsPayload (cyclomatic 13, cognitive 17): packsPayload has cyclomatic complexity 13 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":"src/server.js"},"region":{"startLine":6874}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f83655549d040af44aca7c68207c9bc84e362696024d841feb2d33538c02f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSkillPackages (cyclomatic 13, cognitive 17): installSkillPackages has cyclomatic complexity 13 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":"src/skills.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fe39c9bb65f60f67e6403a49c70282e806f1b44c767137f193c33146913874"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dependencyOrigins (cyclomatic 13, cognitive 16): dependencyOrigins has cyclomatic complexity 13 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":"src/repair-dependencies.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe0512815283886078db56f925209d9467141725549ed4dba03e4d7bba80386"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packPluginSelection (cyclomatic 13, cognitive 16): packPluginSelection has cyclomatic complexity 13 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":"src/server.js"},"region":{"startLine":6944}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58c4d8e78fa76740641ba9519af3f453538e3ab7ee456c6ba047e1301b9be4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function packageStateChanges (cyclomatic 13, cognitive 15): packageStateChanges 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":"src/repair-dependencies.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb32ef2680ddbac193371480d9bb793184cce30ebff2fadf2569325e240f251d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeFrontmatterIssue (cyclomatic 13, cognitive 15): describeFrontmatterIssue 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":"src/skills.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6deb83492afefac09d73446671f3e69d2c4f9148e11b1943f661e0c1fda19c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyUserProperties (cyclomatic 13, cognitive 15): applyUserProperties 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":"wallpaper/wallpaper.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddb078f17a4e343488398a34665a0608b72c9cf974a4f9667576d1e00cca545"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/index.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4090fcd70cab3ef1be456207c9fdb08504d86499a15138903dac73eafd15e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upstreamUpdateReport (cyclomatic 13, cognitive 14): upstreamUpdateReport has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-upstream.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e40b1680c0e0e18c4a19dab1b206e224270d3f928809dd129e06871501f773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSshConfigAliases (cyclomatic 13, cognitive 14): listSshConfigAliases has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3a712b83a9023df9aed939d87e67ee17442f3f55b02ecb33913e97e20748ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe23d5fefa7f2e7fa659f23890712ef531accf151f3d0fc57cdf97fb9d34f6c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pendingUpdate (cyclomatic 13, cognitive 13): pendingUpdate has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec667d591617555171b72a4544a6f28485ca867719a8025ccbb3552ed5e0f05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8889}}}],"partialFingerprints":{"codehealthFindingId/v1":"09572a2751bf0b4b07c0e9aa97d66ea7403f6102e7cd970211f072cded967bed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 13, cognitive 12): constructor has cyclomatic complexity 13 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de8e356c9f195f7d6013593b6d208372158d82688f250630b0baa743440c07f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function save (cyclomatic 13, cognitive 11): save has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7aac8d6cbb6c7f5d7f80713ca9d0461f596ae22c08d1a456e3d4180fa082ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEnvironmentStartupError (cyclomatic 13, cognitive 11): isEnvironmentStartupError has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-recovery.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d075c766233ca82339044f24d16971aa5b810c296c64b8dfa6baac206ec10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRepairPlan (cyclomatic 13, cognitive 11): createRepairPlan has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-plan.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e1173f2a4a8f069d2d7bd396e58b10a4758412c8a4e3e9f50105c0d941689b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoUpdateTick (cyclomatic 13, cognitive 10): autoUpdateTick has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"093ff007823758b942ebec8d27922a68eb1bf33f6856d4405d96bc8143e70c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function excludedOptionalEvidence (cyclomatic 13, cognitive 10): excludedOptionalEvidence has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-dependencies.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee01f5b4c91670b1ffef74f54db7ab1a384dc9b8df7aa05ff17561cb8e3f40c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanNodeModules (cyclomatic 12, cognitive 23): scanNodeModules has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bce11297a5500c43da530f555dfdd4ab8e6decedb6fb36167f584f543a73a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopAll (cyclomatic 12, cognitive 19): stopAll has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":11831}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbb7e308d1198f6a6bdd2f4fd34f6d266381be098fb99f1eca8cb1dfaf008f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 19): parseArgs has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"488caac9469cc016ad9f5e704a77fddbaee49f3d14e895267bc554e8f4eb991e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pageType (cyclomatic 12, cognitive 17): pageType has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78ee6e272ac2714a086e60764e1b20fd8b8db1b5cc38f2e8dfd9f259d1ef2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchToFile (cyclomatic 12, cognitive 17): fetchToFile has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377aec653df832ed14d2c8927ac679030da7998d1f49ac5b915ec809465c0b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function latestRemoteFor (cyclomatic 12, cognitive 16): latestRemoteFor has cyclomatic complexity 12 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":"src/server.js"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"9464862e1bbb1143f526b54b03c69fd8eb0a33e32dcea0ba9058cb9dee998add"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openerCommand (cyclomatic 12, cognitive 15): openerCommand has cyclomatic complexity 12 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":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b085b9500976b2b6ddac22a05408878c22af2b05351701a22ed2e7c02269a14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeRelPath (cyclomatic 12, cognitive 15): safeRelPath has cyclomatic complexity 12 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":"src/packs.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"832b1aff71672f65ea852e25731ac3e4807e525c65a70dd441005bea0a1a6700"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function followRedirects (cyclomatic 12, cognitive 15): followRedirects has cyclomatic complexity 12 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":"src/proxy.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fdf7fb993555a612f6c5d8238b40d5718c8f56298db33b755640688f84445b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function marketEntries (cyclomatic 12, cognitive 15): marketEntries has cyclomatic complexity 12 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":"src/server.js"},"region":{"startLine":7169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c894dd8294a8553451b323c2a1737a2078ab49f346887f2fc4481841bbf42fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminateProcess (cyclomatic 12, cognitive 14): terminateProcess 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":"src/server.js"},"region":{"startLine":7436}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea9bc7adf6bc043634f586625ea49d7e15f6e0463c46d4fa0f6a4b464fbd4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remoteCoreForTarget (cyclomatic 12, cognitive 14): remoteCoreForTarget 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":"src/server.js"},"region":{"startLine":8086}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d419acba69af258b3e15e037122b106ba54e756b1ebd0e9883e43b5e9fd43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function targetOf (cyclomatic 12, cognitive 13): targetOf has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"768ea176c6a2a54d3a75548fe2a15f0af4601c970a8b53d31104b05c38c78d0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function legacyWindowTarget (cyclomatic 12, cognitive 13): legacyWindowTarget has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/instance-views.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a8f39bbbd601c0538bcc056733445a5fc941fb7b3af15013ed9c0f9b69db9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 13): main has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6091cce112c70c38c290fd6ba98c15285bfc94545797b1406b7e3a3e65f578e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchedRead (cyclomatic 12, cognitive 13): patchedRead has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/worker-events.cjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a7676c26ae03498a4bc72ef858c00d45a9d39e6fb52bed94ea057536aa561b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendRowBlock (cyclomatic 12, cognitive 13): appendRowBlock has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0214be52779b9f0be21ac3d69b077402f18037af80b8abd9717bb7498743557"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a567ce357a2900b5bb1f899c72927a5a69b14dfed8667e8a5d49c42d94dc28b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeWslOutput (cyclomatic 12, cognitive 13): decodeWslOutput has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c7bbe8f539dda719be319603f5e115a7e5f4e3e713dee18c21df862bb58c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeDiagnosticCommandFailure (cyclomatic 12, cognitive 12): describeDiagnosticCommandFailure 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":"src/diagnostic-command-error.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"15221fe2e669089e8bd5520e2ed601578ca0f6a92cc279015338a6d6896ef1fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSizeCache (cyclomatic 12, cognitive 12): loadSizeCache 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":"src/server.js"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b876780b1ed35950db9765f861971d724bf3f27f6f88fa421afefaf23292540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) 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":"test/environment-pack-fixture.mjs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b4c668e92e4891b0f7f2d91ed5fe1643eb4eb45094d7676b924e21bfac8300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function frameTabInfo (cyclomatic 12, cognitive 11): frameTabInfo has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd11360b0dd76d271ea96de9bd35dbeaf8df9972051eff95b5cae904fb9b0e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sampleSurface (cyclomatic 12, cognitive 11): sampleSurface has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tabs.mjs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9d00b9f2247d3d287401cd3d25473b4bf04da188ec4aec4ecd8c30e597aee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 12, cognitive 11): render has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/tabs.mjs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2877d52720496c00f4944831d48fee56a7d886273a8ebe35e9872f9bd1a17c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSource (cyclomatic 12, cognitive 11): normalizeSource has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"118182c3fb3f670b546ab735757e155afad287753220098707b3a08ac142eb77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEnvironment (cyclomatic 12, cognitive 11): normalizeEnvironment has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f16e9f209c8889430dee0cb75c2ba4226185fb39d42b5ee06c3e40c00d0ecb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function marketRepository (cyclomatic 12, cognitive 11): marketRepository has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pack-market.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2048e28304fb2c6703a5454f68f55f2a7a6fdd4215ead3b1a1b9bb68f7d72b76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 12, cognitive 11): validate has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"986a0319af7880db554c9bf5c706633f4c2a953a938b5cc9bcfb483fa28deb17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeProxyUrl (cyclomatic 12, cognitive 11): normalizeProxyUrl has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"046f9b9cde5b8e35bbd841017899ed6a4dca4393e3af90bfdd49cbbd93889a2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea4f38396e5b3f70a189ea722abedd85e02c01578a48c0475969fcda0c4f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function insertChip (cyclomatic 12, cognitive 10): insertChip has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb323198683fb2f39d9a615dd4d22030632482ceb3fa36c6350c18523b2090d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeFetchError (cyclomatic 12, cognitive 10): describeFetchError has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"922b12fc48e912acb69f60863f8691427c02938b80afe494aeb7403321cada54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCoreRelease (cyclomatic 12, cognitive 10): resolveCoreRelease has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/core-npm.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b57a2c39fa93a3fbbbeadedc26afe292950e7e5107b5c1e070694f6359e66f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchange (cyclomatic 12, cognitive 10): exchange has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/manager-auth.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8928bc3537d4d1ea33d61490b90d34b7400d1b7c98635a02569a54b32527123f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 12, cognitive 10): visit has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"79ea451d382398bd8901e96a22c38b2e44d3b7d613e78d78999fb1ad2b99854f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listWslDistros (cyclomatic 12, cognitive 10): listWslDistros has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ffbd153327acc625ee65239885777438561e779f7cbd53444aac0615e88567"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 12, cognitive 9): inspect has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-actions.js"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8800b33d48a18892827039afa2e4a8bbcc2e3f8b18cf7e3b2e97b6f15f116e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmpPre (cyclomatic 11, cognitive 20): cmpPre has cyclomatic complexity 11 and cognitive complexity 20; 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":"plugins/dsh-x-sync/lib/engine/version.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"367a4cf7e9cf11c3c09f1ef0de72915922b8bd3243320fe602868ea3fbd7be95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseInstallProgress (cyclomatic 11, cognitive 20): parseInstallProgress has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7cf26177bf67032531e3f2ad3dbb86ff23416dba3846b6175786477e147f31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cmpPre (cyclomatic 11, cognitive 20): cmpPre has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/version.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0a00f8f52582f9fa5b4b37ef2b31acf28ee9afc80a167f4a940657026bd760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizePluginList (cyclomatic 11, cognitive 19): normalizePluginList has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"76816f3bbbf26d8c188172b139c53ef102715864adde0a731c13364b453ab226"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitingServiceEvidence (cyclomatic 11, cognitive 19): waitingServiceEvidence has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3479099544b954425343261edf26db19ced640e8a85fb5e251d4eae623636ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 19): main has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/start.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4922e2a36d7452f832d9313daa378efd2e692b21d2b7cb0a3c253ae7b7ab5b28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setPluginEnabled (cyclomatic 11, cognitive 18): setPluginEnabled has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0594af9cacae7b3a377661e152315d287f5e73b0314ba8fd44b49b788b8767be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxyFetch (cyclomatic 11, cognitive 18): proxyFetch has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e572e6a43d0c350d85ad61f424139c6960c5e500eabde1cce0533d5ce4afed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatchEvent (cyclomatic 11, cognitive 18): dispatchEvent has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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":"test/environment-header.test.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6232c55496e6d05add20d4ac81a61eab52ce2f77972d3067d6893e1ffad2b802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installSpecs (cyclomatic 11, cognitive 17): installSpecs has cyclomatic complexity 11 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":"src/packs.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae06ffa8dd868b493de66192e4c69fd8af3bcc92a86df2d56318acf449d1f08b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scan (cyclomatic 11, cognitive 17): scan has cyclomatic complexity 11 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":"src/repair-dependencies.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ee454ea2f61bc40e19e83a9f9799328d65f5eb05604d22de23b8dc66bec178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readPatchDisables (cyclomatic 11, cognitive 16): readPatchDisables has cyclomatic complexity 11 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b84c1eb46dd3976c4d3927617abfc189a9ff0070df941ac980032f1b28bc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pruneVersions (cyclomatic 11, cognitive 16): pruneVersions has cyclomatic complexity 11 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":"src/server.js"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed505fdd933b3c87aed01efb076b10b98586e70afa3c44bfaff49c577c2e711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchLatestTag (cyclomatic 11, cognitive 16): fetchLatestTag has cyclomatic complexity 11 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":"src/server.js"},"region":{"startLine":6016}}}],"partialFingerprints":{"codehealthFindingId/v1":"da434a526a79d5d5475fe3361905686bc46f0e7d02893fcf22b9d317415a8f35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyReleaseManifest (cyclomatic 11, cognitive 15): verifyReleaseManifest has cyclomatic complexity 11 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":"scripts/release-manifest.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"054bc4a5d22bd3674d09d5ced17a4107631d933b2b5e5a20fcd7377aa084a9df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pickProxyServer (cyclomatic 11, cognitive 15): pickProxyServer has cyclomatic complexity 11 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":"src/proxy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"54443d799f06d6231b575be06dc5ea725f51fd5d9ee1dc1e296b19dc6e40736e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readTgz (cyclomatic 11, cognitive 15): readTgz has cyclomatic complexity 11 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":"test/environment-pack-fixture.mjs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bd61acf524f17f1f2dbebc6d7a729ef17d82e1895efe920fa83f23d45a7854"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyInstance (cyclomatic 11, cognitive 14): notifyInstance has cyclomatic complexity 11 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":"shell/main.mjs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"981d5fbc2c903deba9031f7050b306f4ad9ffa83a8ab36d074439526b662e871"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trayAction (cyclomatic 11, cognitive 14): trayAction has cyclomatic complexity 11 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":"shell/main.mjs"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d69236fd104d74a111e5a560dcac0ecdaba62ed594ede20293cf4f955ef66e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function turnNotice (cyclomatic 11, cognitive 13): turnNotice has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/notify.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2d0cd980a15336e8e949590fddd0c7363dc9be848c7881b9629dde9f721aa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCorePackage (cyclomatic 11, cognitive 13): buildCorePackage has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-core.mjs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8982ac132a7d399e83cd6c19281724660b6023c6bce791f6fcba6820acfa34b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function offlineFilesOf (cyclomatic 11, cognitive 13): offlineFilesOf has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ae2cc830a5d759d9ad09a2ae7fe0da9c474d4cc9603443c1cac9d2a915e173"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runProfileInstall (cyclomatic 11, cognitive 13): runProfileInstall has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6760}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c420cb6c69b2df5dfc96e3341d63ded60af640454ff527bbc14fa42c72ee4da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachScreenshot (cyclomatic 11, cognitive 12): attachScreenshot has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe741e4b8aac626016184d43a8de40bd90ff9d88bb5a71fd77d0f64bdb6999"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeWebdavConfig (cyclomatic 11, cognitive 12): safeWebdavConfig has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"392b3db74504f1d708a08a6a3fd467f2780910bbd893e20c178e145e3a1279ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePackSource (cyclomatic 11, cognitive 12): parsePackSource has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee52c208d1637786bd02d0ca13d13ab737c50a3e3ce022e4910a123e1504e4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readProcessRssMB (cyclomatic 11, cognitive 12): readProcessRssMB has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"512f2e08b7c529910fccaa5de5d2a932107c3299d0335bf382ac4316db338de7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3911}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df0dbc1882fe0fc9e819e646dce56d38d46b09e99452e2480d450ed196dea40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeDshHomeNames (cyclomatic 11, cognitive 12): safeDshHomeNames has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9ff09eeca42aa5c2bc2c00390a58b26e9b9d504964e9b29e814a4889a68d8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeWebdavConfig (cyclomatic 11, cognitive 12): safeWebdavConfig has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"97171f49a4f8191ec87c8a4a477908a7bb35eeb9149bb139c0d5d2907c93b0d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findEndOfCentralDirectory (cyclomatic 11, cognitive 12): findEndOfCentralDirectory has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/zip.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29e2393ba61912d8b6e1a40891723e71caae3021e4b749582f03d3b1f98c814"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function value (cyclomatic 11, cognitive 12): value has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/environment-header.test.mjs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"397da07c0267f570c7feba58086665de50d894dedc96778abe8b76145a9384da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameSession (cyclomatic 11, cognitive 11): renameSession has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"91502026d6d919f381c498f8e65bbea97ce5e90839dfda16e11bec2f24c448ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadCoreTarball (cyclomatic 11, cognitive 11): downloadCoreTarball has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a0657961480411331b9358ba1ac66f8db4c7b74888fbe879ef81a5a85b7dfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveProfiles (cyclomatic 11, cognitive 11): resolveProfiles has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"44274a84ea1115f9597667d12b3c41d15d57463ac661f3946fca12b20f154d20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkPortPins (cyclomatic 11, cognitive 11): checkPortPins has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6c0ac9a2de7c269b88a3d9f71f672bb3477df67dde4c726407c320a44db102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreProfileConfig (cyclomatic 11, cognitive 11): restoreProfileConfig has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5007eb3de989cab17024d407c5f9b3d7ec42aedc739e47da61a2a531b9e23dfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeProxy (cyclomatic 11, cognitive 11): resolveRuntimeProxy has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/wsl.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbae95a1be4c408ce57589c6b46ba651fd9a559c1718883514562769f7118bc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSessionItems (cyclomatic 11, cognitive 10): buildSessionItems has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee07f42380bd95ca582f2e49c182a284baf10347c4799f6f014a7134dd33223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 11, cognitive 10): update has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d170923be1e26ff611cc478420b30d3c634aab3396552ed72744fe9ec897c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 10): constructor has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ef80092d0493e1d45915ab5f25a64690ce2924a94e8924a9bd63754ae37291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 11, cognitive 10): visit has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/configuration-evidence.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"620935cea91056829182b836274e6a10eba0c809c17503278b433290d66e65f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConfigurationIssue (cyclomatic 11, cognitive 10): parseConfigurationIssue has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-evidence.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b5c855f547d65f9255b3b065c4b3dd57feed246493a26ef3bf1863a90cf040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoPortUsable (cyclomatic 11, cognitive 10): autoPortUsable has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5492}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e050ac61e72282f676d120a07061b6c3b23ac76bb3de80caea000ecfff3ba4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSelfUpdate (cyclomatic 11, cognitive 10): checkSelfUpdate has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5794}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae2300eb30ba510b04afb7f5503fdbdce30e5ccdca3e3f28ce88f5aa8978e1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function safeSshKeyPath (cyclomatic 11, cognitive 10): safeSshKeyPath has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee61d5f37faa71834a263da7066da522d97b0b14d372f37a7a0d76902f2626b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 10): constructor has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"871228c75a135bb50c10790af38b2f8e61d929f4194c1094fbf3c1d0f29f8ee7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/main.mjs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7388a2dbc65ea07cd0664295a2149b5056eeec636566329bad2152caa7fdd41"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTabTarget (cyclomatic 11, cognitive 9): parseTabTarget has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8e4f0d1e787ae2d97c510fc731641f4206f8f205b986ed826b53727bb73de6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function load (cyclomatic 11, cognitive 9): load has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/diagnostics.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab172ec4bb0469a739d9759bb3a134a830df0ff3a7217e71836942b6fecd572b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveMcpServer (cyclomatic 11, cognitive 9): saveMcpServer has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbe3793204600670bc0b0d03bb341cc904ffbba6d15c89ff4f90a54c7835083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkedRepairPlan (cyclomatic 11, cognitive 9): checkedRepairPlan has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-plan.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e4a5b61cc8c4a79a326526412bfbaabeffe5d03bae112254725213c95bb0ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 9): (anonymous) has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":2750}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e185aabd54828e38678349ab4c2e76cc47bc57fad8a34540dc5e989a4a3d6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onLine (cyclomatic 11, cognitive 9): onLine has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":7527}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a67ac260231f36abdf1a7cfb3818cf915ea656192b24e34308fab2cc0e9641"}},{"ruleId":"R3","level":"warning","message":{"text":"src/server.js: 11383 lines of code: src/server.js has 11383 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":"src/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33577005f46940c53378af52de53fb63414076024f927005984ad5470e4cf55"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-sync/lib/engine/sync.js: 1899 lines of code: plugins/dsh-x-sync/lib/engine/sync.js has 1899 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a712c619ea89fe3b069bffe5e109c32d79749d1c1218f49e7d352424b606bbe"}},{"ruleId":"R3","level":"warning","message":{"text":"src/sync.js: 1897 lines of code: src/sync.js has 1897 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":"src/sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead47b2616b6eae8e466ef203b939351fc269b9b642bfb4f7329e306b706349d"}},{"ruleId":"R3","level":"warning","message":{"text":"shell/main.mjs: 1649 lines of code: shell/main.mjs has 1649 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":"shell/main.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412cb6ed23fd725c64bb2c102a57f6bee0b55b477e28742e626083f1b7592b92"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-sidebar-browser/client.js: 1370 lines of code: plugins/dsh-x-sidebar-browser/client.js has 1370 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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ffa2b8bc60a542cd83fb4eed8862dbb672d8443dcd6e4e6733d89c03d6880"}},{"ruleId":"R3","level":"warning","message":{"text":"src/settings.js: 1198 lines of code: src/settings.js has 1198 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":"src/settings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6815583a1797a805dbd2dacc88a2ed6f24652f5b9da0a27d969014981e6ea"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-context-menu/lib/client.js: 932 lines of code: plugins/dsh-x-context-menu/lib/client.js has 932 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":"plugins/dsh-x-context-menu/lib/client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765c9e2f1c20eff51b20adbc59b94cb7e33d59c6824635c599c6143432ae72e5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/environments.js: 898 lines of code: src/environments.js has 898 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":"src/environments.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e54c2e48ffcd2bbeb7a343961321a77918a3427f1e9c0bbbddd3d7d48e303e"}},{"ruleId":"R3","level":"warning","message":{"text":"src/wsl.js: 830 lines of code: src/wsl.js has 830 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":"src/wsl.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2749a8ff3ba562d76f9651ef73c879e81d458b1506d163f9f437ffd7124b6dd5"}},{"ruleId":"R3","level":"warning","message":{"text":"src/mcp.js: 721 lines of code: src/mcp.js has 721 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":"src/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6d1a102068e2804b63384885e04c93d0e52eecd688129ca4ddf20281d76783"}},{"ruleId":"R3","level":"warning","message":{"text":"src/packs.js: 651 lines of code: src/packs.js has 651 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":"src/packs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1175b89a9f2933f41cb9c67c4246438d163086146f673fb2883bd61d53f31e06"}},{"ruleId":"R3","level":"warning","message":{"text":"src/runtime-diagnostics.mjs: 635 lines of code: src/runtime-diagnostics.mjs has 635 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":"src/runtime-diagnostics.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45ea73d8bc0dc349d998bb04ce2edb08d91949a80b7d994f055707e26e19f41"}},{"ruleId":"R3","level":"warning","message":{"text":"src/repair-actions.js: 634 lines of code: src/repair-actions.js has 634 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":"src/repair-actions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cda5b94ac2045ea347c0dd16e6cceb2ad20f4e31b9626dc031d36d57523f89f"}},{"ruleId":"R3","level":"warning","message":{"text":"src/public/environments-page.js: 620 lines of code: src/public/environments-page.js has 620 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":"src/public/environments-page.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21359e22c8a745de865aa1fe492a1932d26ceccf0fc5c5a12d0532e815d3197d"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-sidebar-browser/index.js: 558 lines of code: plugins/dsh-x-sidebar-browser/index.js has 558 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":"plugins/dsh-x-sidebar-browser/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26943fb35e9ac4017f8eecaae9dceaae8effb1f0e2588c8327fc8e3cb3679804"}},{"ruleId":"R3","level":"warning","message":{"text":"src/registry.js: 541 lines of code: src/registry.js has 541 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":"src/registry.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942f96bafee327c644ed118995a22f3b440d10ea756f7e777e01a27fc662cee8"}},{"ruleId":"R3","level":"warning","message":{"text":"src/public/internal-tabs.js: 514 lines of code: src/public/internal-tabs.js has 514 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":"src/public/internal-tabs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c7297f7dae20a5128aa374539a6951fe3ad5e32bcd30d9acdc2ef574f0a51d"}},{"ruleId":"R3","level":"warning","message":{"text":"src/plugins.js: 483 lines of code: src/plugins.js has 483 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":"src/plugins.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b3e097032b58e59171ee74165718976b8d99660736c0d967b5a26bdcbbedfb"}},{"ruleId":"R3","level":"warning","message":{"text":"src/skills.js: 466 lines of code: src/skills.js has 466 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":"src/skills.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfb41a2491cd27ba8c43c80d5eb65e94a36e72d6774445949660282fe11615e"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-sync/lib/index.js: 462 lines of code: plugins/dsh-x-sync/lib/index.js has 462 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":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9f4a124ebcdc5dfad8cb65e2bd070828bef2a275086f63d6521c976b537001"}},{"ruleId":"R3","level":"warning","message":{"text":"src/proxy.js: 462 lines of code: src/proxy.js has 462 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":"src/proxy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83b8201f1ae8ff47cb967d28adf632312e5224cace767ba2bf0fb28bfeda31d"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-sync/lib/client.js: 455 lines of code: plugins/dsh-x-sync/lib/client.js has 455 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":"plugins/dsh-x-sync/lib/client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8406d4de6a82e4803c7bb6469748979d1d906262071a0db24ebf576f27a4c26b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/environment-pack.js: 452 lines of code: src/environment-pack.js has 452 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":"src/environment-pack.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c625bceb0deab89ce5c0ae16a3c2d251a7d8d2842250b580ed8dd8ca0b789777"}},{"ruleId":"R3","level":"warning","message":{"text":"plugins/dsh-x-memory/lib/index.js: 430 lines of code: plugins/dsh-x-memory/lib/index.js has 430 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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223d345219f81a79f614bfd28b4abdb2adba0811b8785c3156b8cdf303578baf"}},{"ruleId":"R3","level":"warning","message":{"text":"src/ssh-core.js: 429 lines of code: src/ssh-core.js has 429 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":"src/ssh-core.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0b7cc12704e9cb6f931d6cbfc49c74e9758e1c484810d16b34c4540358342b"}},{"ruleId":"R3","level":"warning","message":{"text":"src/startup-diagnosis.js: 424 lines of code: src/startup-diagnosis.js has 424 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":"src/startup-diagnosis.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4fee152b469b3d00e301b4c8cab704dbfd39034f3d3d037a8f1d8f998e3822"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-probe.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dad006b5a21acef0d4798a9ad9101b51b718d13ce4246c4db66270bfb4df505"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceb935b9d4121cedf580c53091cba2b79cedc8421aa23be6c7d966b083df435"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18bcb9b71e8a869fc2e8da98db256b6f8d0d43a8d5f10958d7509730096702b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/water.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2e572e08c056ffbbc9eb93f0e4ee855ff36ce0ce7b810693fa855e69ccdd1c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wallpaper/wallpaper.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d515f1fe8ba1ca6fa4b6197af93bf16a19d62f2d6fc4ead8b39dfd561c0f3e52"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugin-tool.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a7266df6e26fa74fbe137628d40ae28bf2d805813e90a3ba751a6b3534036c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/compat/worker-events.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"071c656577d6406b16a167eedb0695f4de67d08a986df1e603cfb33bcd797758"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wallpaper/spectrum.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b35f60e69bd4ec08f5c9d40fb9a3b46eaee74ff487194ccdea96069d12fc347"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/reserved-profile-boot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"babf2c0d2215c504393bbc87020fd20bd4791a7cfd7308a715c893510d5ca614"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/scripts/sync-engine.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bbc6a22cede7560de92982f3c3eb72477d8a0bfd28328366e0ebe8187704af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"wallpaper/intro.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d913e885e7d05ac3d2c87e4a313039485cc558030e3542d3561c780b9e73954"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/idle.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb87b4740a993ebcc1e27194712638bb5e91e905ace444a10e9d6e8c6916e9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/repair-uninstall.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282789d924a9826f86c21d101c704a6d11c9a01298124c91102f6396cd455896"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/panels-block.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0388a1863691cb2aec286680e0bfbb8d8583ff4750395bd45449855a8befaff"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/stdio-unblock.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1875723ecd24408921f73f80f0822451b76dc9dfe663082614aa88bfdccf69"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint or typecheck script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2717 \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":"658a995477a4f3b704a1d0c61d78cffb4c5cc1944c2f896c1bb70ee901a201cf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~339 LoC): no import path from any entry point (115 application, 29 tooling, 228 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-mac.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"250efaf53e6bcd7e6373a0c9ff24eaa034d4c22904f15c47239adbcfc1496904"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~193 LoC): no import path from any entry point (115 application, 29 tooling, 228 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/verify-tab-detach.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e02dd5d10274e821fe09d41462fc82da6601d3fd9ed5a7dd479f7424da4a20"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~186 LoC): no import path from any entry point (115 application, 29 tooling, 228 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c3557445c3134bf238c12bd5dce2e45a9e33fb192daa01978ba0089eb17393"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (115 application, 29 tooling, 228 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-aquarium/lib/panels-block.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6a652216fc3f94806fff533c9f7e69a7582097baf05c4a7165b4a500c1b86b"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027crc32\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c062f12519afca8b541b2bd6dce78157448b8b2df451785d11fe72f31ef4d433"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027readWholeFile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e38fa005e352acadd53225493948d4a34661111668ad1df15aa656cdc203c43"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PAGE_TITLE_MAX\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad4b95e755957eace0f73ae058670061359d662e29438151088d93b0fb08957"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SKILL_NAME_RE\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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40d214f8e5320cfa00dbc9d6526ec6ba239ad67c5507cb99c7f058b41f4b03"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027SECRET_MASK\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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f98a4ec9d9a68b681a86640cae3b704b5758a58bc292ceaf03ef661e80f50f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027joinParts\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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f164d5fb2d5fcb2271cee0c86a56e40315d50107c95d0342b287e6062b81c748"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027packageVersion\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":"src/plugins.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"664275074c6c5ff858187bcf81cc3b90fa75a66801eaebc64ecf559ba9c31dc8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027macIncrementalReadiness\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":"src/server.js"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"61416f8762a2df8ceceee1ae74d768139f11c1746dbc10adb384fd5c1086c2d9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027readPackageVersion\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":"src/server.js"},"region":{"startLine":6829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5c6bf6bfc453745b20310acf47bc8413f50db040c1526e3eace70f5bee7351"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027bootWslOnce\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":"src/server.js"},"region":{"startLine":7899}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f97b578fcf7cf010b43efd3299868b5a721b894eabf526d3b884427515fbfe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027envDir\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":"test/environment-import.test.mjs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"213373b76cbb784d5b57d0b08d9752299683ae3ffa98b9ba69c209c795c2b9e4"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027semver\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":10368}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dcb4f94b62f09f937fd20158aaa52b8ab5c1f552355d6472d56617d57623c3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027electron-updater\u0027: Declared in npm-package/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":[{"physicalLocation":{"artifactLocation":{"uri":"npm-package/package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c685ba6d0ec8bdd2a814d7a31fe97a5060ab991e65eb5f979381b3bb8faaaa87"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027dsh-x-desktop-notify\u0027: Declared in plugins/dsh-x-desktop-bundle/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":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-bundle/package.json"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a464b9cbb9fed6db8838b3f5c74fcb403e1fe38891481e435393f01ba3f62"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: npm-package/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"npm-package/package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b66b207c69385e1f5ad5885f9dcd2c264f2b41036abd29c0cebb562c3c1dcc1"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: plugins/dsh-x-context-menu/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/package.json"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"774cbd3d86e077f7af213d98da363e333643d2761c6a271c531e26a881c829c6"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: plugins/dsh-x-desktop-bundle/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-bundle/package.json"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"02862f21a880ecae028116338767841ff5aa54535707507538e017b3f06a48d7"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: plugins/dsh-x-memory/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/package.json"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6fd02a4ff8babe637dc9a5a12d2c005add7a4fe73ef8f56395ede2cdcca85a"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: plugins/dsh-x-sync/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/package.json"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b83aec38e512eea15540b3d800ec0382931bc15afc55afdfe655de958d3c53e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!BOOL_TRUE.has(value) \u0026\u0026 !BOOL_FALSE.has(value)\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/skills.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803c76efc6bf6783a6dade61e54423de1d09fa6f76fbd9381672a6c0151828e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!active() || event.pointerType === \u0027touch\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-aquarium/lib/mascot-part.js, src/public/mascot.js. 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":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72571e2505e824ceb03689cfce0082f84a6452b42db6e7278396fa3b6fe7d52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!active()||e.button!==0||time-lastRipple\u003C.08||e.target.closest(\u0027button,a,input,select,textarea,.card,nav\u0027)\u0060 appears character-identically in 2 files \u2014 docs/water.js, src/public/water.js. 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":"docs/water.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ea75e8455299420b2749ec0d22a20be6414ef24c9a52a38d64ea7967be16ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!existsSync(join(dest, \u0027server.js\u0027)) || !existsSync(join(dest, \u0027package.json\u0027))\u0060 appears character-identically in 2 files \u2014 shell/core-fetch.mjs, src/core-npm.js. 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":"shell/core-fetch.mjs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c3ef6580f16d99d36dfe92bd64b0d6a363626b300fed19bb8dcfdf94a87bb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!manifest || typeof manifest !== \u0027object\u0027 || Array.isArray(manifest)\u0060 appears character-identically in 2 files \u2014 src/packs.js, src/repair-dependencies.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e3ccd9e5fb33363e081fe85b303e5e31d0ae2dba6a242e816f121bf2797508"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!manifest.dsh?.profile || !Array.isArray(manifest.dsh.profile.bundles)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a17a58bd61adce1187406a4952b9fd87727c10e4c87297fc5cd129fd98b3ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!second \u0026\u0026 state !== \u0027drowsy\u0027 \u0026\u0026 Math.random() \u003C .18\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-aquarium/lib/mascot-part.js, src/public/mascot.js. 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":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70d58b107eb9a77f47e269464a53b59dae85ef97f3e36dc8ba5d8c6be313999"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 src/pre-update.js, src/settings.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/pre-update.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec37e126e9f3ba05b012395bb0d40382057b263f392dcc9376a38641e4b76f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(/\u003CNextContinuationToken\u003E([\\s\\S]*?)\u003C\\/NextContinuationToken\u003E/.exec(text) || [])[1] || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"33568a4f688cf7f00f36c5d8e5bc2872369a9d41b35af86948fb50f792f622b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(entry.isFile() || followed?.isFile() === true) \u0026\u0026 /\\.md$/i.test(entry.name)\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/skills.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"343be6bc92e099f377939fe3992bcff755e6788aed1299262824106c5924b63f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(status \u003E= 500 \u0026\u0026 status \u003C 600) || status === 429 || status === 408\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7022ab482451d5613ca2bd03e7a84aa1b54ceca9c3d111adbc7a6eb8e08ee207"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(text.startsWith(\u0027\u0022\u0027) \u0026\u0026 text.endsWith(\u0027\u0022\u0027)) || (text.startsWith(\u0022\u0027\u0022) \u0026\u0026 text.endsWith(\u0022\u0027\u0022))\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/skills.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e46f732f0df8c3f7e7bd3fd1f657e3eb13cccbae87ae57d55fce2ac8cd642b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/^\\S/.test(line) \u0026\u0026 !line.startsWith(\u0027- \u0027)\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/plugins.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"d549da1305eba52881a011959f2bd5e767f77a43c2ab19664ed0ef7bd6b41f6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060/^\\d{1,3}(?:\\.\\d{1,3}){3}$/.test(host) || host.includes(\u0027:\u0027) || /^\\[/.test(host)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bb2446fc4f976ce7550612b4a6d3f6799599729142a1e976816dca226ae500"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(pick(\u0027getlastmodified\u0027)) || 0\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"689ab02bbf3139fd3e797bb8a90a448618b2404b80a5f4afebd6d63f8956aab2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Date.parse(result.headers[\u0027last-modified\u0027] || \u0027\u0027) || 0\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43120061e4f482aee171ec0cbc38e35330a06ea491629e32bc7e47b10db12e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(res.headers.get(\u0027content-length\u0027)) || 0\u0060 appears character-identically in 4 files \u2014 shell/core-fetch.mjs, src/core-npm.js, src/registry.js, src/server.js. 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":"shell/core-fetch.mjs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"09867517ff482834bdd9a4ba84c32e08edb4a2ac5b6a0647bb52d5ee8402e860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 2 files \u2014 shell/model.mjs, src/pack-market.js. 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":"shell/model.mjs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d689c249e1cac4e868510ec57dbecb381031708623325bda26744ace067e2374"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060address === \u0027127.0.0.1\u0027 || address === \u0027::1\u0027 || address === \u0027::ffff:127.0.0.1\u0027\u0060 appears character-identically in 3 files \u2014 plugins/dsh-x-context-menu/lib/index.js, plugins/dsh-x-memory/lib/index.js, plugins/dsh-x-sync/lib/index.js. 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":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd23631bb7294a63aa54389794a742038190ac755422cd3703cb878f2f8af9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attempt \u003C RETRIES \u0026\u0026 retryableError(error)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08cd141301281bd5d50f50ffbb3baf3acbfe908515db4cf3b7dfe1fede289a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bucket \u0026\u0026 !/^[A-Za-z0-9._-]{1,255}$/.test(bucket)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c55ef8c8d598d3d620bfdac7163ce9ac4cb549b5bc0a3defbb08d186480d2e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.endpoint \u0026\u0026 !/^https?:\\/\\/[^\\s]\u002B$/i.test(config.endpoint)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"598ec58b0945420bc73446918dc166389019dbb9650d03f5558a6f6fc267f755"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.endpoint \u0026\u0026 config.bucket \u0026\u0026 config.accessKeyId \u0026\u0026 config.secretAccessKey\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74c01ec63f17fab4322a46867f887eddda78eb51abafc4cd6235367450bec42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.endpoint \u0026\u0026 config.endpoint.includes(\u0027://\u0027) \u0026\u0026 !URL.canParse(config.endpoint)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"6958cad8d178de543d0c91bfe5d841b948784c747726e958d6b1360253fe92df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.url \u0026\u0026 config.username \u0026\u0026 config.password\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ca1c53b89670441d3992e382658c5d5de3930b6f603961543c8bb9f541745e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deps.includes(packageName) || bundles.includes(packageName)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-memory/lib/index.js, plugins/dsh-x-sync/lib/index.js. 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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d444f78939bc89188dadf41829ad35f2f7d9357cd717b70cca3499022e0303aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() \u0026\u0026 !entry.name.startsWith(\u0027.\u0027) \u0026\u0026 entry.name !== \u0027node_modules\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-memory/lib/index.js, plugins/dsh-x-sync/lib/index.js. 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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee1b42bf23421fb0bd16f0dd316cea43f479b1b5f76b8f44d9098f81994a06"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isDirectory() || followed?.isDirectory() === true\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/skills.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a026cca7e204ec1153db95c920053c843dfb08dd7720ff9b046a8137ecf1b17f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.name === \u0027.system\u0027 \u0026\u0026 root.key === \u0027dsh\u0027\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/skills.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f7f11119ea135fcf460ad9434857556d3ac49e69fce6de2ff1fe2ffef0c6e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.size !== undefined \u0026\u0026 data.length !== entry.size\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/zipfile.js, src/zipfile.js. 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3061dc4bd4d99e93f9cf141073b0ecb893f0f09a54eec673059c5c48deac0b2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error?.code === \u0027ENOENT\u0027 || error?.code === \u0027EISDIR\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ee7c558fecf4dea1abe4bd09367c4802aa057439dbe593364d0865f38de5f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error?.transient === true || (Number(error?.status) \u003E= 500 \u0026\u0026 Number(error?.status) \u003C 600)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d6b05aaf76aba7c4b9781026c819b137fb3472778a7fd60a3c3ee6aedb36e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.status === 0 \u0026\u0026 existing.stdout.trim()\u0060 appears character-identically in 2 files \u2014 scripts/pack-core.mjs, scripts/pack-npm.mjs. 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":"scripts/pack-core.mjs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"62af19c58118689ba2eb2dad4f0aa07405bc23cbcb66690f07514547cd7486e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060image !== undefined \u0026\u0026 image !== null \u0026\u0026 !image.isEmpty()\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sidebar-browser/client.js, plugins/dsh-x-sidebar-browser/index.js. 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":"plugins/dsh-x-sidebar-browser/client.js"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e77d3b3295e3f5ccb30878a76a3ad681170187df0e300e1137245b4306a1449"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isIpLiteral(host) || host === \u0027localhost\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1444622e64ca702a8b520a4792b59b0a5511550f02fecb4ccbe114ba67720c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isLocalSpec(spec) \u0026\u0026 !offlineSpecFile(spec)\u0060 appears character-identically in 2 files \u2014 src/environment-pack.js, src/server.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfde768ead54af9390cd63c9322c54a601cc460c4e99a84f4bfc04c2251c5b22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.action === \u0027download\u0027 || item.action === \u0027duplicate\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6bbc925060799d419be3dd94629bf0a88f7d54ebbee20281908f2a1bfe854"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.home === home \u0026\u0026 item.profile === profile\u0060 appears character-identically in 2 files \u2014 src/environments.js, src/server.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493e505853c23ec7147974b2d2d9bb1154a5edc179eec920d3a24d1720b7367"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key.endsWith(\u0027.yml\u0027) || key.endsWith(\u0027.yaml\u0027)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fda3b2d9c088252a5d0863c24bff90288b0d2ec1e5c36fd5ba452a2d0b7dd0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.trim() !== \u0027\u0027 \u0026\u0026 !line.trim().startsWith(\u0027#\u0027)\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/plugins.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"671f29b17d1bedfb5d54aa8270bf9fa39a9cefb1470fd916ec8d977ae7690ce5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lines.length === 1 \u0026\u0026 /^\\[\\s*\\]$/.test(lines[0].trim())\u0060 appears character-identically in 2 files \u2014 skills/dsh-x-selfcheck/scripts/selfcheck.mjs, src/plugins.js. 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":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3a6e6e7c4887efc25659a286d03090fe5589dd3625f10baa22064a900a576c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060manifest?.dependencies \u0026\u0026 typeof manifest.dependencies === \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 src/remote-profile.js, src/server.js, src/wsl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-profile.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39382035d742f53543384b89977d8e8975687187f73eab3e5b4742f50369587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060merged.text !== localText \u0026\u0026 !sameManifestContent(merged.text, localText)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"2696bd1ff3b1e2d46f82263954a00be553ebfc0b123f8531b65ff08660c2efd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060method !== METHOD_STORE \u0026\u0026 method !== METHOD_DEFLATE\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/zipfile.js, src/zipfile.js. 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffddf1e45e3d4d3503b32c9f5aad2336aa49c18e2fa5828e85cfcf0d4927fb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060motion.matches || root.dataset.reduceMotion === \u0027true\u0027\u0060 appears character-identically in 2 files \u2014 src/public/launch-list.js, src/public/launcher-boot.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd8ace46f4183afa8180d4807734f84eb0277aef3d74e663f155d9d6e7b8da6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060next === \u0027waking\u0027 \u0026\u0026 (state === \u0027sleeping\u0027 || state === \u0027drowsy\u0027)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-aquarium/lib/mascot-part.js, src/public/mascot.js. 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":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"833ddbe566aa0544877a34f0cca762a21f6396a4af6c9783f407f8e047ab0f75"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.configRoot || DEFAULT_CONFIG_ROOT\u0060 appears character-identically in 2 files \u2014 src/remote-core.js, src/ssh-core.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37fd59dd3314496a27c0f72f99a4ad271dbf6fa5316821c2f0eb4220e390600"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.searchParams.get(\u0027profile\u0027) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 shell/instance-views.mjs, src/server.js. 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":"shell/instance-views.mjs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9ac874a4d21c10aec9abfa09afdef3d330633817a846c08439622655dbdfca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.searchParams.get(\u0027version\u0027) || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 shell/instance-views.mjs, src/server.js. 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":"shell/instance-views.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34c8e720c5ecae6098e03b52f65631de05a1ed6d8c0232d2861c36df7fdf623"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parts.includes(\u0027..\u0027) || parts.includes(\u0027\u0027)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"085a1314a0bd8255d9ea12b0240093d2590a7f8c42125ddd12deba38b00ec268"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DSH_AGENTS_HOME || join(homedir(), \u0027.agents\u0027)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/index.js, src/skills.js. 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":"plugins/dsh-x-sync/lib/index.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c85bd4284ce9409cdc5fee3f461de018907a98e0bd9274d2bf20c00e637b67"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DSH_CORE_PACKAGE || \u0027dsh-x-core\u0027\u0060 appears character-identically in 4 files \u2014 scripts/pack-core.mjs, scripts/update-flow-demo.mjs, shell/core-fetch.mjs, src/core-npm.js. 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":"scripts/pack-core.mjs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b121412c98490e80a23117fb29fe63907fba4d6488b287ac56f3962ceb51ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DSH_HOME || join(homedir(), \u0027.dsh\u0027)\u0060 appears character-identically in 3 files \u2014 plugins/dsh-x-memory/lib/index.js, plugins/dsh-x-sync/lib/index.js, src/plugin-tool.js. 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":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dcd501202d6eb9a5fc9760550e1cc55092d80e38086f10fb17d9f912ff9781"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060proxy.via === \u0027unreachable\u0027 || proxy.via === \u0027none\u0027\u0060 appears character-identically in 3 files \u2014 src/remote-core.js, src/ssh-core.js, src/wsl.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/remote-core.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67f799221891a04d6d58ccffc79b8b9ec3afade45689daa719e9782ca594e58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status !== 200 \u0026\u0026 result.status !== 206\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4eab6c71d81a19d26b4bbf7ffecbb2f2db15e2b063a3eaba7f416ff86424179"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status !== 207 \u0026\u0026 result.status !== 200\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"283d14ee00ddabdeda873ab36e5183d23914282b6cf35cbefed9c5a1a1f38cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status === 404 \u0026\u0026 allowed.includes(404)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cca20bf1fa3f2c237d3211668c9c3128b135b5adde6c30745d0488063c7dc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status \u003E= 400 \u0026\u0026 result.status !== 405\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1abb298176c51da9da4129983e3c2f9c835055457b382b5399f93e6a6cd773d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060size \u003E MAX_SIZE || compressedSize \u003E MAX_SIZE\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/zipfile.js, src/zipfile.js. 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd11d26068de6f1de303e57a943b5b28dbfa7e3b4fe2b0d0a2da0bf6e813ada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state !== \u0027sleeping\u0027 \u0026\u0026 (clock \u003E= nextBlink || clock \u003E= doubleBlinkAt)\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-aquarium/lib/mascot-part.js, src/public/mascot.js. 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":"plugins/dsh-x-aquarium/lib/mascot-part.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1812b184507f9ec5bdbfae1145c792763df8e9a62d4ba59412910ac41fe714e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tail.readUInt16LE(eocd \u002B 4) !== 0 || count === 0xffff || centralOffset === 0xffffffff\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/zipfile.js, src/zipfile.js. 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":"plugins/dsh-x-sync/lib/engine/zipfile.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"081665172caeecd828f4138f0f8bdaa84ff20b6f85ed034c943d60e1c6459c9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060text.startsWith(\u0027~/\u0027) || text.startsWith(\u0027~\\\\\u0027)\u0060 appears character-identically in 2 files \u2014 src/settings.js, src/ssh-config.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"443c5ffb231c172e23be4b694400121af36fd0c09e13d7fd92032d1e49651e01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof client.finish === \u0027function\u0027 \u0026\u0026 !summary.stopped\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb84002b1598479108586a6b00e4e6dabb4cf142d42c46b813b02f33a161c75f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0027http:\u0027 \u0026\u0026 url.protocol !== \u0027https:\u0027\u0060 appears character-identically in 3 files \u2014 plugins/dsh-x-context-menu/lib/index.js, plugins/dsh-x-desktop-notify/lib/desktop.js, src/settings.js. 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":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9597f23e80822ad72b8008adf15318e8dc0001a6300efa491d5f47a58b54ee6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol === \u0027http:\u0027 || url.protocol === \u0027https:\u0027\u0060 appears character-identically in 3 files \u2014 plugins/dsh-x-desktop-notify/lib/notify.js, src/desktop.js, src/remote.js. 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":"plugins/dsh-x-desktop-notify/lib/notify.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0413bf9ce7ec8b06667bfd81e52b492f52cf6779e36c59bc9358df66134ed6ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== undefined \u0026\u0026 value !== null \u0026\u0026 value !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"be88f8c942af12050c8d845f40e3ea5b057a6b6c8cd4b969a28b5a04e57f165d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 plugins/dsh-x-sync/lib/engine/sync.js, src/settings.js, src/sync.js. 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":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"3871523f90ce1625693e10c962da92ab8140e340c9f094fbf0dbff6c44e8e2ac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060within \u0026\u0026 !within.startsWith(\u0027..\u0027) \u0026\u0026 !isAbsolute(within)\u0060 appears character-identically in 2 files \u2014 scripts/verify-tab-detach.mjs, scripts/verify-tab-groups.mjs. 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":"scripts/verify-tab-detach.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bbb37882382d31329db6a5e38d0a2195e0ed894016d441162e4e0fe40736ae7"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060inUse?\u0060title=\u0022${escapeHtml(t(\u0027\u8FD8\u6709\u542F\u52A8\u9879\u5728\u7528\uFF0C\u5148\u7ED9\u5B83\u4EEC\u6362\u4E00\u4E2A\u5B9E\u4F8B\u0027))}\u0022\u0060:\u0027\u0027\u0060 is text this program did not author, and it is written into an unquoted attribute through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML text encoding does not help in an unquoted attribute \u2014 whitespace ends it; quote the attribute and encode the value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90a9c0697f65eafc98e25c3a1df5f4ba6354e2e73202a0477a0a3ccea360baf"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060[...environments.map((env)=\u003EgridCardHtml({data:{environment:env.id},label:t(\u0027\u67E5\u770B\u5B9E\u4F8B {name} \u7684\u63D2\u4EF6\u0027,{name:env.name}),tile:{\u2026\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbffb72ae9670e9b7ba30b32839b94876af6c1d8b5a61fb4c8a78c9dee97519"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060packNotes(t(\u0027\u95EE\u9898\uFF08\u5148\u89E3\u51B3\u8FD9\u4E9B\uFF09\u0027),data.errors||[],\u0027warn\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"89abaf4eabe7407c2952cffcb0bc49c2a286e8cd3cedf610fb5f185628942fd4"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060packNotes(t(\u0027\u8981\u6CE8\u610F\u0027),data.warnings||[],\u0027warn\u0027)\u0060 is text this program did not author, and it is written into the text of an element through markup this function returns with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/environments-page.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"369cb3d9002fa6563172914abfda6cdc8fe7fb657bd0f64c0484276f4cb9bafb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060markup\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"873c1c23a2f40a74db1d5ab653d2b6f90a037e6b40c59dab2cd3ce59dba44693"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060html\u0060 is text this program did not author, and it is written into the text of an element through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework\u0027s escaping output, or sanitise it if it must stay markup."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/launch-list.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"341262b732e79f244e6c8614d86526212a40212559f3fcec93b26b46a1246b1e"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1065bfc2da7324b71f105348e23db3492ab7a98e8ea3350e028e5de6bd714c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb107ea2d5b7209fd9b30fec37b0a468d6e925b4f4f807f21fc35e316b3871c"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc5ed35d387599fd0aa5c4b8960636d786dd88a6a48f9a1bb4c9c99fee3f081"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"63aa36f9ddd7e984268f35e58e59fd26b2df3ac5bf8d4974f3f50c4409935bea"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cb9396049b3a8cdca89db19fb911022baa795da6823aeda98384089d43abdb"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9b822e4d5d27088f735a0ea6a5a552f8ed357427d0a2ab8467084980823d57"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"466a3ebda7d470a503059fc230b375b746d9abf13d4c252c454969b8151ff4de"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060assetRoot\u0060 is text this program did not author, and it is written into the start of a URL attribute, where it chooses the scheme through \u0060innerHTML\u0060 with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. HTML encoding does not help here \u2014 a \u0060javascript:\u0060 URL contains nothing it changes; allow only http(s) or a relative path."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/public/mascot.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09f82e1aa16c3b750f82f19ffe6d6738e9396ffb6104e1edc8915081ddf1d83"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060cachedVersions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-fetch.mjs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"0016e8ddf1226ca9d8266bd761977483cc6007b5f85e087d089d16296e162530"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060allowedUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-context-menu/lib/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452a5a76ed33ee23e5c3dadfebd0caf1f113de760543ae9fd26e784cad4c377"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060managerOrigin\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/desktop.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3225c068860f4514d1f1c15dd916987c5b295b711a30f0198c65a2d96b18fc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060urlOrEmpty\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/notify.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4693575bff18e30106b0c630b7234ceb6437a4c9acdafffb497133a7fa425e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060originOf\u0060 (in \u0060apply\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/index.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05501e4da11ace70585ea25cbaa7433e49f92193846813d9d9659166160a46f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060titleOf\u0060 (in \u0060apply\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-desktop-notify/lib/index.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5abdbfa74165172198f7247a1f79f3794e44c7ead4b2bfc8deb3c79f05431e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060scan\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2081296282e0e728ae185f062e560b8a745db1c8d1e27cdea8d4be29e038f41"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readIndex\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/store.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"06485f8a3bc45518b5800b678e22ae4ceba17f4479f009ebceee06b4aeb906dc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060loadOverrides\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-memory/lib/index.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2bdff695314430e4c591303c7e4f43a1a132efbd91546c6d0764deed9d6bb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"plugins/dsh-x-sync/lib/engine/sync.js"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85fe813e00ac3dbfabcb0d7244d0cca236e5f080dbfa2b790c970fdbfcad78e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pnpmVersionOf\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/pack-common.mjs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cb85dd36eb92ab69885118be66e9260ffea0dcfb9b6bbbe1547bbee4601b95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060nestedCode\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/mac-signing.mjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e380eab7b10c04166cf6b00fe109b218ff1edde44c8a396869bcd852c3bbb9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060installedVersion\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/packs.js"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b64b514fbf9bda712ebee238d6df9a48c50130db2665f93a1287d1945291b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060writeElectronBinMarker\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/electron-bin.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"918337316b7ea2059e6dd30d6ec267e0e6dc13d36d1ba7e8537b6d7422e48fd2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060verifySignature\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/release-manifest.mjs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea46d2046a83a9f16b4c2c579e4e3e3ee4cdb9048fd0295a5f37a2b174b715ca"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseJsonList\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/model.mjs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"35adeb89637dbde8eabd425117cd9dad1423c13f6eb6208dd76cc356cd0ae86c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060createCoreRecovery.failedCoreVersions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"shell/core-recovery.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"081ba7d0ac57df987eed39eaa12712ccf453f1904397f960b73483e632002ae2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listPatchBackups\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"skills/dsh-x-selfcheck/scripts/selfcheck.mjs"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f609ad5ad51eb319ece3aa96889841b4ac49c69ecb2ba488f9270b3e1cd94b7"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeSize\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/sync.js"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"31080b31b27ed0cf36d102205c3f94d45a87f9799a15b8d46758b8bd719fb3da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060history\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environments.js"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ba3263d9b06cc7b78a4a1418ffa3c2e0e58c78475fc383ffd7c9190b0b5b2b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060normalizeProxyUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1377ea92f126b60551e64169400017f41c9e9526efd24452330a0af850b7b69"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeLaunchPresets\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/settings.js"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"354523065a685b0ddb83813ba97a617e38555e9a2c1090afe8accd2fcee6e1dd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060runCommand\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52fd5a12b306a3f838b8a48487f58a881ce36c2040180fe475dec14649c7e52"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060query\u0060 (in \u0060detectSystemProxy\u0060) swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/proxy.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2d155bd9003cb25d39b25aa6137da50f37f1a25272267752befb85261613e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060httpUrl\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/desktop.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98161331516d55c4907833abf6b686e31f602ab98b5f6037f8f92e4564c61d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060declaredOfflineFiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/environment-pack.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb6532e2285083ff132c020dc413ac4cc38ed99aca28908cc01d635a931c43f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060lanUrlOf\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/lan-proxy.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4ea8927ba4546f91d973648d6ae7f862c8d7d68401863e3da8bd8af4babbc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060packageLooksLikeBundle\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/plugins.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5466a798a5dceb9783c10799ee2a921aa9b62afec80d9218c6763aa041f7d522"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readText\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec05f1c783f155feee79d2f5d95aa7aaba648f3d2a1e3b156b48aa22aaf8865"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060listPatchBackups\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/recovery.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b60ca19a816aea90cc058f0bd6f7cfbd48f03e2dda52732f4c39b04b1f1357f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060withRuntimeNode\u0060 swallows every exception into \u0060return false\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/registry.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4caf258fc2f183ffa7ba7310bbc79eec35d7d7c955adacb00fdfc3bc88f3f6eb"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060declarationEvidence\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/runtime-diagnostics.mjs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33ff40db8496e27df4e5294e1371c92a0b781472c7a353332cf1c948612fc04"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060expandInclude\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"80943cb9160f83c8aa2e6d841707cbe786db965f1553897f92b4407f8c2cfd65"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseConfigFile\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/ssh-config.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0902e3da9bd7603868b0bcde77a3550dd76ddb97cec81bbe12907f11304e43a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060installLang\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e9d7d04d6a888d0cc3bfba61dd56a550931d057ca45697525df4d12ea7095d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060profileDependencies\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"8525dcf96e9a3af75799582d9698c939582232cd4f81639842b57bb9672d783d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060builtinRecipes\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3595}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f4af2e1589c94a78106ddb13ea39bd4fd299729cafd8217cec86d2a83fe941"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readTextOrEmpty\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":3960}}}],"partialFingerprints":{"codehealthFindingId/v1":"41984ec7634ca4747a569ae79961b01e7bdb6119d2c0427f0543df2a8d934c44"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060profileStoreVersion\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4668}}}],"partialFingerprints":{"codehealthFindingId/v1":"4175ab290abc67ae65c4e508a1cdbcb03b3999608b38635fed178e2b199d59ef"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060writeDshShims\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":4796}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a80ab4c60abbbbae6b3f75be8c0177bcb5ea73c5d0960bb2aef64607219e10a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060urlPortOf\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":5566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0e99aec1a886b62a72d19133f600cb702d2af17ddd17c1ffc1ec7e51c567da"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060pruneDanglingLinks\u0060 swallows every exception into \u0060return 0\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6426}}}],"partialFingerprints":{"codehealthFindingId/v1":"675b2fe9edc6b6487e9e22d6c6f6b99f43201392cf894dbf5c97171653912437"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060describeFetchError\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":6990}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63462e1cb4785fb2b0345de26dbd9fbeacb6f8bd19b21f9551394fcc6ee30ae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060initializedProfiles\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/server.js"},"region":{"startLine":8690}}}],"partialFingerprints":{"codehealthFindingId/v1":"3888f9f21d765ae155ae29bd914007314213fb5a9fef6194920af3159b4dbb10"}}],"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-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-1385","guid":"87d1dc95-a344-ec57-810a-d06d36e42c1c","name":"CWE-1385","shortDescription":{"text":"CWE-1385"},"helpUri":"https://cwe.mitre.org/data/definitions/1385.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-20","guid":"0a612236-7785-3553-b517-eabea925caa3","name":"Improper Input Validation","shortDescription":{"text":"Improper Input Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/20.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-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.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-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":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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":"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-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":38,"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."]}]}