{"$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":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"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":"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"check_element (cyclomatic 195): check_element has cyclomatic complexity 195 (threshold 15). Of this number, 181 points are the body\u0027s own statements and 14 belong to 15 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e514528da45ababe3210e70d590f79901805eceb7f3f2f5c923d3b9fe58a9dcb"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze_component (cyclomatic 181): analyze_component has cyclomatic complexity 181 (threshold 15). Of this number, 163 points are the body\u0027s own statements and 18 belong to 10 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"79250bc31244badffd4754d10ce5da116034ca056532eae5277edae134f3796d"}},{"ruleId":"D1","level":"warning","message":{"text":"RegularElement (cyclomatic 136): RegularElement has cyclomatic complexity 136 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 12 belong to 12 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e08a04bd203c39e15a3f00d8c0aa0e94bd77b02fbdd4b57d3901f1206412a4"}},{"ruleId":"D1","level":"warning","message":{"text":"index.svelte_visitors (cyclomatic 116): index.svelte_visitors has cyclomatic complexity 116 (threshold 15). Of this number, 113 points are the body\u0027s own statements and 3 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eddfe3972640a64fa711c5d27ed3c087c53b8a136c3de1cee4dda03dee6e99a"}},{"ruleId":"D1","level":"warning","message":{"text":"client_component (cyclomatic 108): client_component has cyclomatic complexity 108 (threshold 15). Of this number, 90 points are the body\u0027s own statements and 18 belong to 7 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a618083300a8b61f73d0e09dd5b26ef70a40fa2263ca54369e6ecac1620d297"}},{"ruleId":"D1","level":"warning","message":{"text":"Evaluation.constructor (cyclomatic 107): Evaluation.constructor has cyclomatic complexity 107 (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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bbbb8580c5e52364bbdb0a012129c5d73d3221d9017ed3fa8e7d6bfc4eb488"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate (cyclomatic 91): migrate has cyclomatic complexity 91 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 18 belong to 23 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c4692236a03b8a6f4ab1122df19fbb2a588ea21b2f1c840d1cb7024b5e6f74"}},{"ruleId":"D1","level":"warning","message":{"text":"element (cyclomatic 91): element has cyclomatic complexity 91 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 2 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79421ae15668f1b47e600384c5c53e5522449a2e1867bbd7124ed596ee849cd"}},{"ruleId":"D1","level":"warning","message":{"text":"build_component (cyclomatic 91): build_component has cyclomatic complexity 91 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 13 belong to 14 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"077e3244d1ab4aca806ea0fb435a98558e15fb1c11010027f65d72e87e4a7a6e"}},{"ruleId":"D1","level":"warning","message":{"text":"BindDirective (cyclomatic 82): BindDirective has cyclomatic complexity 82 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 6 belong to 4 function literals 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/BindDirective.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0702230e0b89326754016598bfbdb466d86d60b6524d22560d465a67c1b96c88"}},{"ruleId":"D1","level":"warning","message":{"text":"BindDirective.BindDirective (cyclomatic 79): BindDirective.BindDirective has cyclomatic complexity 79 (threshold 15). Of this number, 72 points are the body\u0027s own statements and 7 belong to 4 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a07e049b6ba45ebe8aabf61106d203374598996b987b402bc71bdb5e0e8ea78"}},{"ruleId":"D1","level":"warning","message":{"text":"CallExpression (cyclomatic 79): CallExpression has cyclomatic complexity 79 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f625d0f4ff6b15431fc0d42a74deabb7bc49bb351322572a32904f0bd2fb279f"}},{"ruleId":"D1","level":"warning","message":{"text":"element.build_element_attributes (cyclomatic 78): element.build_element_attributes has cyclomatic complexity 78 (threshold 15). Of this number, 72 points are the body\u0027s own statements and 6 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e547824e4118ee8e36c7d393938b8b4aecc46a58332bbff3951bb12250d40534"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableDeclaration (cyclomatic 78): VariableDeclaration has cyclomatic complexity 78 (threshold 15). Of this number, 68 points are the body\u0027s own statements and 10 belong to 7 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca7e04e1bd62de9e610c4d7f3ca57297910514fd271017df8be06d6798baf13"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableDeclaration (cyclomatic 75): VariableDeclaration has cyclomatic complexity 75 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 16 belong to 10 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fae2167c257dc5554c090fb026d6add9256522dfdba82a14da572830acc4b57"}},{"ruleId":"D1","level":"warning","message":{"text":"create_scopes (cyclomatic 74): create_scopes has cyclomatic complexity 74 (threshold 15). Most of this is not in the body itself: 10 of the 74 points are its own statements and the rest belongs to 29 function items inside it that branch (EachBlock, AwaitBlock, LabeledStatement, \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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"80837c1f3c33708992c87f69f4f8c488fa9c6c29ae3708d4eff2200ed561fae4"}},{"ruleId":"D1","level":"warning","message":{"text":"attributes.set_attributes (cyclomatic 71): attributes.set_attributes 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"116718636a01ddd1ac22ada6477eefab94cd1c41367a5d8f4774f46de3c390ca"}},{"ruleId":"D1","level":"warning","message":{"text":"proxy.proxy (cyclomatic 70): proxy.proxy has cyclomatic complexity 70 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 10 belong to 6 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f84f69dd7837db807e6bd5c2931341a8aafdae410d92a5fd7ad6f7e20fc0f0"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.clean_nodes (cyclomatic 70): utils.clean_nodes has cyclomatic complexity 70 (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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4550ac8006204f1e8139be23ecd07081f0cebefe445eac22dca96e342d7eae0f"}},{"ruleId":"D1","level":"warning","message":{"text":"profile_to_markdown (cyclomatic 68): profile_to_markdown has cyclomatic complexity 68 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 20 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":"benchmarking/utils.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcfb39317656504ff4e86508b92ee50947082d59132aa412b2b788b4474dc00"}},{"ruleId":"D1","level":"warning","message":{"text":"Identifier.Identifier (cyclomatic 67): Identifier.Identifier has cyclomatic complexity 67 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a7404614d17a39c802e337db7379acfe90e557f44ac04911416f184b4cb5dc"}},{"ruleId":"D1","level":"warning","message":{"text":"relative_selector_might_apply_to_node (cyclomatic 67): relative_selector_might_apply_to_node has cyclomatic complexity 67 (threshold 15). Of this number, 64 points are the body\u0027s own statements and 3 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a99b8e307c1646e11e5de022900e43d0764a29013176b775ce2fefadf4ac4af"}},{"ruleId":"D1","level":"warning","message":{"text":"RegularElement.RegularElement (cyclomatic 66): RegularElement.RegularElement has cyclomatic complexity 66 (threshold 15). Of this number, 61 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39f67f04b5f25e3b01ed61ef8dcd430a0ea920f64bb4b02e53773f572323b7e"}},{"ruleId":"D1","level":"warning","message":{"text":"EachBlock.EachBlock (cyclomatic 64): EachBlock.EachBlock has cyclomatic complexity 64 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 8 belong to 4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6f62820375f13d4f84b4bb169712bd9b8759401815594b4d97ca4c774fb097"}},{"ruleId":"D1","level":"warning","message":{"text":"build_assignment (cyclomatic 63): build_assignment has cyclomatic complexity 63 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 3 belong to 4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d47357ba9c1b724b26599120a96a295dd00d6b10aa43b586391681b709ee5e4"}},{"ruleId":"D1","level":"warning","message":{"text":"build_inline_component (cyclomatic 56): build_inline_component has cyclomatic complexity 56 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 10 belong to 11 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbf181370953a67bb8c9d1de8c09bbf2f152d12a30735be1a3754b55e77cf05"}},{"ruleId":"D1","level":"warning","message":{"text":"options.read_options (cyclomatic 54): options.read_options has cyclomatic complexity 54 (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":"packages/svelte/src/compiler/phases/1-parse/read/options.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce402a26b8a7b2bbeb1834cebcc0544054b6a58c17f9e0ad266ebfeb93ab9e3a"}},{"ruleId":"D1","level":"warning","message":{"text":"index.calculate_blockers (cyclomatic 51): index.calculate_blockers has cyclomatic complexity 51 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 15 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc62fdc3bba8a2809dc0a1923b1c8b0e2c9f67bf49d724b53b4335d2d7777d0"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.get (cyclomatic 50): runtime.get has cyclomatic complexity 50 (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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b6b050ced8fefa4a768d8159667c39645f1d1c662698fb462d80eab9b586ec"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableDeclarator (cyclomatic 50): VariableDeclarator has cyclomatic complexity 50 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5008627727d2690b33522fae52844fc42178f529d9d07608fc2c99eebd466748"}},{"ruleId":"D1","level":"warning","message":{"text":"server_component (cyclomatic 49): server_component has cyclomatic complexity 49 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/server/transform-server.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"787b51533e7d96830f17aa60b06f4fe11e8b839c09a2465532eb8d86a431a45b"}},{"ruleId":"D1","level":"warning","message":{"text":"index.migrate_slot_usage (cyclomatic 48): index.migrate_slot_usage has cyclomatic complexity 48 (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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b2667cb1b2e27cf35b5be64a437133441ff3eab889385e55cfd038c43bebf5"}},{"ruleId":"D1","level":"warning","message":{"text":"each.reconcile (cyclomatic 47): each.reconcile has cyclomatic complexity 47 (threshold 15). Of this number, 45 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a7a50db49be9a86668b800367ad819aa592aecb3870d23675382b1b63e7bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassBody.ClassBody (cyclomatic 47): ClassBody.ClassBody has cyclomatic complexity 47 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 10 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ClassBody.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"967424230b5ce446e66dc770e27091345bb3fc8714f43598154e470355931e6f"}},{"ruleId":"D1","level":"warning","message":{"text":"open (cyclomatic 47): open has cyclomatic complexity 47 (threshold 15). Of this number, 46 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3a3fc8fb568326a5c3499f8c56a46fe1949a53f3295d5eefa1373e0fdd41e7"}},{"ruleId":"D1","level":"warning","message":{"text":"SlotElement (cyclomatic 46): SlotElement has cyclomatic complexity 46 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 16 belong to 6 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"63714861fe2c5ef20f491955dd18ac5c15e7c3df9033ac0d9e435a824e93d587"}},{"ruleId":"D1","level":"warning","message":{"text":"element.validate_element (cyclomatic 45): element.validate_element has cyclomatic complexity 45 (threshold 15). Of this number, 43 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/element.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"633282a64601ba38e400761ddf9f9afcaf560aab5e3f77693355020c91252d18"}},{"ruleId":"D1","level":"warning","message":{"text":"ast.is_expression_async (cyclomatic 41): ast.is_expression_async has cyclomatic complexity 41 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1fe7534edf5aba89806c764ce43e26cf0d3c3411adab79f503c1c4c57d8b3a"}},{"ruleId":"D1","level":"warning","message":{"text":"svelte_visitors::Fragment (cyclomatic 41): svelte_visitors::Fragment has cyclomatic complexity 41 (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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"007d2452cdc62343d2a62bd98d070cfad5a9937a04728d6417ad63bff32c7c33"}},{"ruleId":"D1","level":"warning","message":{"text":"VariableDeclaration (cyclomatic 41): VariableDeclaration has cyclomatic complexity 41 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d9144a405804f0013b57b4ec42daacaa2b3c2e51a2da24c8375dd9c12b925"}},{"ruleId":"D1","level":"warning","message":{"text":"each.each (cyclomatic 40): each.each has cyclomatic complexity 40 (threshold 15). Most of this is not in the body itself: 6 of the 40 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 268, commit, a function literal at line 207). 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f815ec6acdcec0e3e0fb1f12234827ff3d5bb1820597e1c224667f859e2cee9"}},{"ruleId":"D1","level":"warning","message":{"text":"prop (cyclomatic 40): prop has cyclomatic complexity 40 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 21 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":"packages/svelte/src/internal/client/reactivity/props.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfb0e4b2f8878c111651e80ae19d701a77fc487af76b639353db76820dbded8"}},{"ruleId":"D1","level":"warning","message":{"text":"visit_component (cyclomatic 37): visit_component has cyclomatic complexity 37 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f88cf81a2472a3b26b51cfe6a073636f41ceff7185ede7e4a4735ac41fbd767"}},{"ruleId":"D1","level":"warning","message":{"text":"RegularElement (cyclomatic 36): RegularElement has cyclomatic complexity 36 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b6592eb2e98458f1dcd9982717aeb0ddd51831d963f076ad0272b1fbbd206"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy.convert (cyclomatic 34): legacy.convert has cyclomatic complexity 34 (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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74ac85b374b3caddd6f48c752b84980f7bb69cb97f9a8ce8b91a1c44369032b"}},{"ruleId":"D1","level":"warning","message":{"text":"element.read_attribute (cyclomatic 33): element.read_attribute 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d34488865bab22d2557ecda51e93055e645418f7c4cf0c793df6f13a4b9810"}},{"ruleId":"D1","level":"warning","message":{"text":"css-prune.get_possible_element_siblings (cyclomatic 33): css-prune.get_possible_element_siblings 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad310d26d3ff4743f5b0f56d7263849efe3cccfeecfda1903b7ebb8d3beea24"}},{"ruleId":"D1","level":"warning","message":{"text":"attributes.to_style (cyclomatic 32): attributes.to_style 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9002a31fe275e5eec0dc438d3333528fbc7c73006df5b53d38c256eb2e5d3e98"}},{"ruleId":"D1","level":"warning","message":{"text":"handle_identifier (cyclomatic 32): handle_identifier 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc369138db4951b0b2d5826cbf1264768de7fe438f5c9a4e40fad9d830bd3fba"}},{"ruleId":"D1","level":"warning","message":{"text":"style.read_selector (cyclomatic 31): style.read_selector 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4372b3dc9c2b7f4730974ca10a173151457be87120230ee719a6e1df4ee3cdc4"}},{"ruleId":"D1","level":"warning","message":{"text":"css-prune.attribute_matches (cyclomatic 31): css-prune.attribute_matches has cyclomatic complexity 31 (threshold 15). Of this number, 28 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c9aabe722aba974120270ba2f47ebe3cccf87c2d53d3462737f57a2dc1f91"}},{"ruleId":"D1","level":"warning","message":{"text":"#commit (cyclomatic 31): #commit has cyclomatic complexity 31 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 3 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc7dd6e5aee2a1ea9f7a3e5bf661c8ad35a87b01b563131d5bfc18e24cc3d3"}},{"ruleId":"D1","level":"warning","message":{"text":"CallExpression.CallExpression (cyclomatic 30): CallExpression.CallExpression has cyclomatic complexity 30 (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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6facd0ec8c4d45133966cf1f3add0a06a1eb7c955d2962a114e7ad732b0580fe"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteElement.SvelteElement (cyclomatic 30): SvelteElement.SvelteElement 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff6e17cf4abebd87443422d124957660b885dbaf09729e352d7512d0145df6d"}},{"ruleId":"D1","level":"warning","message":{"text":"async_derived (cyclomatic 30): async_derived has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 5 of the 30 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 132, (anonymous)::handler, a function literal at line 237, \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":"packages/svelte/src/internal/client/reactivity/deriveds.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1476f3b4d89367a2e30041d3335de239ede840a6f0d3479e974dfe4b6973d83c"}},{"ruleId":"D1","level":"warning","message":{"text":"bind_value (cyclomatic 30): bind_value has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 81, 22). 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":"packages/svelte/src/internal/client/dom/elements/bindings/input.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4df663903e5258d27b9af4f3f8ab84c9d2e6949f93188c1472af8642287d74"}},{"ruleId":"D1","level":"warning","message":{"text":"ComplexSelector (cyclomatic 29): ComplexSelector has cyclomatic complexity 29 (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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308e432d79e6af52442ca973d577a1a4eaeb148894bbb32c821fe53971e59ae"}},{"ruleId":"D1","level":"warning","message":{"text":"html-tree-validation.is_tag_valid_with_parent (cyclomatic 28): html-tree-validation.is_tag_valid_with_parent has cyclomatic complexity 28 (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":"packages/svelte/src/html-tree-validation.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"b830989a34e494039ffea5c04eaa3022ea25b4adb46c5e825e5ebd9f46442804"}},{"ruleId":"D1","level":"warning","message":{"text":"debug.log_inconsistent_branches (cyclomatic 28): debug.log_inconsistent_branches has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 5 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (log_branch, collect_branches, has_inconsistency). 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfc59fc5e283fb301ee3f3e8ff60d29761ac2959990e612296af1064e394388"}},{"ruleId":"D1","level":"warning","message":{"text":"attribute.validate_slot_attribute (cyclomatic 28): attribute.validate_slot_attribute 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60d84718d29f4c5974e8afb848e1bee0e56f7572fee914473625d0fa2cbcd74"}},{"ruleId":"D1","level":"warning","message":{"text":"Fragment (cyclomatic 28): Fragment has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1a05d2c228d4c6fd30c8655bdfc430fdacdd8c244e9de5d00cb6fdafa3f1f5"}},{"ruleId":"D1","level":"warning","message":{"text":"AwaitExpression.is_last_evaluated_expression (cyclomatic 27): AwaitExpression.is_last_evaluated_expression has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f6677601b42a4c5116a395860e9c526807a1ae235648e8c6a4d168fb9023c4"}},{"ruleId":"D1","level":"warning","message":{"text":"LabeledStatement (cyclomatic 27): LabeledStatement has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc421cd10d14ac9519d1a1642d2fa076d942b00c9017d79e287b4b9daffee0f"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_aria_attribute_value (cyclomatic 27): validate_aria_attribute_value has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bea10d67cf41ff0c083e893081900a695111ef20a2853e844dd2c127559fa0"}},{"ruleId":"D1","level":"warning","message":{"text":"ComplexSelector (cyclomatic 27): ComplexSelector has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ded6e230868278e9d6878457a37553b961da256b76b7c8742cc322f8f30fce"}},{"ruleId":"D1","level":"warning","message":{"text":"html (cyclomatic 27): html has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 3 of the 27 points are its own statements and the rest belongs to one function literal inside it that branches (line 72). 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":"packages/svelte/src/internal/client/dom/blocks/html.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"136cec8a7f55b5defcb9dc98d4cf9b68ffa66c9e1e04a3ead57159b14ab9b100"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze-compiler-profile.analyze_compiler_profiles (cyclomatic 26): analyze-compiler-profile.analyze_compiler_profiles has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb8fa16278f86f7da19ed4d952534bead4a48ceb8b5ecb4c4141af8942967f1"}},{"ruleId":"D1","level":"warning","message":{"text":"svelte-element.element (cyclomatic 26): svelte-element.element has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 8 of the 26 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 72, 58, 139). 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":"packages/svelte/src/internal/client/dom/blocks/svelte-element.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2932d12540f5866c41aaf625e94a10f98683864c19d1c8c40edfc524c1273df"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.gather_possible_values (cyclomatic 26): utils.gather_possible_values 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":"packages/svelte/src/compiler/phases/2-analyze/css/utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacd3fe32acebb0fbc332579c1d54bfdbdd6dcc81e7f6fb5291b7284f64c364f"}},{"ruleId":"D1","level":"warning","message":{"text":"effects.create_effect (cyclomatic 25): effects.create_effect 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3d7ce58dc70bc9d2fc244ab503df9db9a7b55aa2c1cd343449888bbabbf5b3"}},{"ruleId":"D1","level":"warning","message":{"text":"events.handle_event_propagation (cyclomatic 25): events.handle_event_propagation 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":"packages/svelte/src/internal/client/dom/elements/events.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5b68fdbb31d55ca5fd91264821c6a6fa68abbdaa6a9cd54c78920cf0b31bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"css-prune.apply_combinator (cyclomatic 25): css-prune.apply_combinator 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dec7b276c6368f7a4f1883d2b18977368da89c193311e2d628528dc2dfdfd7b"}},{"ruleId":"D1","level":"warning","message":{"text":"infer_namespace (cyclomatic 25): infer_namespace 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"39648540c6754e80410bf36827e87b785f49c10ee8ff3bbda7ea1ed987d64d85"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteBoundary (cyclomatic 25): SvelteBoundary 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteBoundary.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c92299c5dd5d2dfb4749ff3d510e45a2d09277b33df87fe62c56a8392ae717"}},{"ruleId":"D1","level":"warning","message":{"text":"AssignmentExpression.build_assignment (cyclomatic 24): AssignmentExpression.build_assignment 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f6343cf5ed2feba66b6dbc6a355f8a42499f43a759127bb47fefed6c7bd957"}},{"ruleId":"D1","level":"warning","message":{"text":"fragment.process_children (cyclomatic 24): fragment.process_children has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"284b4874726af4420c346ba0d06c59d43bacc025590ed9961bef618d28f1a727"}},{"ruleId":"D1","level":"warning","message":{"text":"convert::AwaitBlock (cyclomatic 24): convert::AwaitBlock has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b08d00ac09d4b64bf725a26118ef1539ac6bed8ee5b360e7d7ca19c31a2ee7f"}},{"ruleId":"D1","level":"warning","message":{"text":"build_template_chunk (cyclomatic 24): build_template_chunk 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"449b6d73a294811f8d70d18cfed0752481b8bccc7be9978428dc68ba5905878e"}},{"ruleId":"D1","level":"warning","message":{"text":"build_bind_this (cyclomatic 24): build_bind_this has cyclomatic complexity 24 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 9 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d845411c18be822008b07386970c9b20d589a4a9cf19e3716be4d57c253ce4"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectorList (cyclomatic 24): SelectorList 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10c0ea5b826afc170521962720f4ae056e96dfad3766496c4a8cfa3c572e7ec"}},{"ruleId":"D1","level":"warning","message":{"text":"internal_set (cyclomatic 24): internal_set 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc0f2c24332afad87a0d7f46b3025cc67c9ee0c7d8e94a4b2502a12e70e0b0e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExportNamedDeclaration.ExportNamedDeclaration (cyclomatic 23): ExportNamedDeclaration.ExportNamedDeclaration has cyclomatic complexity 23 (threshold 15). Of this number, 22 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7997f380f5660521c86ca629a969b46184b046c8f9b2524c0adf18084ffdb6cb"}},{"ruleId":"D1","level":"warning","message":{"text":"MappedCode.concat (cyclomatic 23): MappedCode.concat 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":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5851e175873ce8fb1515bd2c0f056073f417eae771a01455ba60069306bd779"}},{"ruleId":"D1","level":"warning","message":{"text":"index.run::transform (cyclomatic 23): index.run::transform 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":"packages/svelte/scripts/process-messages/index.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7ee19cfa19bffda96058a68ab7f5f709a8ec0c183a00c5c793b0979de5a746"}},{"ruleId":"D1","level":"warning","message":{"text":"log_reactions::log_derived (cyclomatic 23): log_reactions::log_derived 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"badd79ba29dd078d03ca240bd112830900780f00ceedd35e7a1e6ba9a7026386"}},{"ruleId":"D1","level":"warning","message":{"text":"Rule (cyclomatic 23): Rule 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f951affe6fa002e1442040af9dc3838f4d6919b3acc575dfaf7250de640b5fc"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteBoundary (cyclomatic 23): SvelteBoundary has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 6 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/SvelteBoundary.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae00ce8649a680ab48e442275cbdf00e7d8a2c761166841ef8892325fdea72b6"}},{"ruleId":"D1","level":"warning","message":{"text":"acorn.get_comment_handlers.add_comments (cyclomatic 22): acorn.get_comment_handlers.add_comments 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":"packages/svelte/src/compiler/phases/1-parse/acorn.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"888ee929b1020d0c7bab3851bd24e659b4c8cbdd6172029ece0ef4d9bbc5d7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"style.read_value (cyclomatic 22): style.read_value 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fa23338d53d973f7b72c7acfd7698cbc52248944c77a28bde5a48564ac89db"}},{"ruleId":"D1","level":"warning","message":{"text":"clone.clone (cyclomatic 22): clone.clone 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":"packages/svelte/src/internal/shared/clone.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bd6555762b21d0bc7df4dbcb369459d9345b36aade54f0c0a224f5d1f847de"}},{"ruleId":"D1","level":"warning","message":{"text":"Batch.#process (cyclomatic 22): Batch.#process 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7294f6a6e305b999288ad0710edc093433f3a9ef075a3efec1f2e297abc880"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteElement.connectedCallback (cyclomatic 22): SvelteElement.connectedCallback has cyclomatic complexity 22 (threshold 15). Of this number, 18 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":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1e0e228699f613c174a760d368b33f78ba60601cb07461f316be13d431860f"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.validate_assignment (cyclomatic 22): utils.validate_assignment 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"430020bce973fc558ba801798c6f2932a0ae4e7ae968740bd0957eb6315dbc55"}},{"ruleId":"D1","level":"warning","message":{"text":"SnippetBlock.SnippetBlock (cyclomatic 22): SnippetBlock.SnippetBlock has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9537344384fb988edc0d76d599641eb948a6a2092bfcb48fbfb5acf88f263fc3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.extract_type_and_comment (cyclomatic 22): index.extract_type_and_comment 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f19d1339ca40bbad034078a851136aa05da76c8c142839916561adc3689306"}},{"ruleId":"D1","level":"warning","message":{"text":"index.attributes (cyclomatic 22): index.attributes 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":"packages/svelte/src/internal/server/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"311bef39917c843354d2936793031a409814540416999a0f15fe9a2613c42d5c"}},{"ruleId":"D1","level":"warning","message":{"text":"ast._extract_paths (cyclomatic 21): ast._extract_paths 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3daef07cfd880edc37e1c17995dfe7e14711888d864bab3b20abc3d1bf80e25"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-support.detector.build_detection_maps (cyclomatic 21): browser-support.detector.build_detection_maps has cyclomatic complexity 21 (threshold 15). Of this number, 19 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb3f4754aa67e0ebba0ba0a743f8163e5bb75c60936d4a534655bd460857f68"}},{"ruleId":"D1","level":"warning","message":{"text":"Attribute.Attribute (cyclomatic 21): Attribute.Attribute 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Attribute.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e81c998cb59876e95fbc2802c578c9343e3f4a616853928233691198c85e76"}},{"ruleId":"D1","level":"warning","message":{"text":"EachBlock.EachBlock (cyclomatic 21): EachBlock.EachBlock 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/EachBlock.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"361f2968bf26b5b299ce5821e2ddfb79d2e8bcf15882c64c8e3e4599de66df8a"}},{"ruleId":"D1","level":"warning","message":{"text":"CallExpression.CallExpression (cyclomatic 21): CallExpression.CallExpression has cyclomatic complexity 21 (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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"061277dc6cfc981d628ad9eee00431449071c5e215c36579d4047604291208e9"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Program (cyclomatic 21): Program.Program has cyclomatic complexity 21 (threshold 15). Of this number, 16 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2385bbefd9d7c39993b2ebdcd72c1b6b3b3f9afbcc6431b6db5030726a1500e"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassBody (cyclomatic 21): ClassBody 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"419f06ff148e270e34dbbad76461849c468e52f0260841aaab486034220988b9"}},{"ruleId":"D1","level":"warning","message":{"text":"browser-support.detector.walk_source::visit (cyclomatic 20): browser-support.detector.walk_source::visit 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb13253e8e5267661c6d4f6be56ebb0c121e510a87264cb83391ac4b55de8bdd"}},{"ruleId":"D1","level":"warning","message":{"text":"css-prune.get_ancestor_elements (cyclomatic 20): css-prune.get_ancestor_elements 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, 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090a6c66532573a83886fccf85385e45d40cc98505b2787fb10d40eae91e83b"}},{"ruleId":"D1","level":"warning","message":{"text":"should_proxy (cyclomatic 20): should_proxy has cyclomatic complexity 20 (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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d4eb128f18335b2da6156fbaef899195bf6a0536a20e043e0cd4969c15939a"}},{"ruleId":"D1","level":"warning","message":{"text":"next (cyclomatic 20): next 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe5c120851fc11cfcfaf7cb3d479f90a8fdb4539b5f28dfc78019ef4d9285e3"}},{"ruleId":"D1","level":"warning","message":{"text":"_mount (cyclomatic 20): _mount has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 180, (anonymous)::event_handle, a function literal at line 260, \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":"packages/svelte/src/internal/client/render.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b933335ff04b92a4f069cb960d7c21fd09d8c5f84d8666068723d94deb9d3f"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.update_reaction (cyclomatic 19): runtime.update_reaction has cyclomatic complexity 19 (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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd33ea13cf14d82284e50d5ef99baa7d3ac0af4ea321de370643f65162f0d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"custom-element.get_custom_element_value (cyclomatic 19): custom-element.get_custom_element_value has cyclomatic complexity 19 (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":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"172467271fcec38b42c016be592b86730818744da495d51ed7fdd4f297132cff"}},{"ruleId":"D1","level":"warning","message":{"text":"LabeledStatement.LabeledStatement (cyclomatic 19): LabeledStatement.LabeledStatement has cyclomatic complexity 19 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LabeledStatement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c822dec65ead8d177396127d232c604b6229736be1821b6611f1f5d5f630e6"}},{"ruleId":"D1","level":"warning","message":{"text":"animate (cyclomatic 19): animate has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 13 function items inside it that branch ((anonymous)::onfinish, a function literal at line 393, a function literal at line 349, \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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"96db1350dc6f98ebdfe3478ed1341077eb974f0f09eafd094daba583d3301dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"tracing.log_entry (cyclomatic 18): tracing.log_entry 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":"packages/svelte/src/internal/client/dev/tracing.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f067714e7c49b9eb852f011eb79759347315f1f922a90ae3ca35c06ce9213b"}},{"ruleId":"D1","level":"warning","message":{"text":"await.await_block (cyclomatic 18): await.await_block has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 53, 76, 113, \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":"packages/svelte/src/internal/client/dom/blocks/await.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe220b069b07613f40affea4c8c9839c0992351911afecbc40462a1ee013466"}},{"ruleId":"D1","level":"warning","message":{"text":"LetDirective.LetDirective (cyclomatic 18): LetDirective.LetDirective 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LetDirective.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cb6bdfbce10e3846076c5627fc39d49fc9493b40ae62338c46b84877e78ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"RegularElement.build_element_attribute_update (cyclomatic 18): RegularElement.build_element_attribute_update has cyclomatic complexity 18 (threshold 15). Of this number, 16 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7364515f6cb20732afc08a88ef2b4e778aee2b44798ecd7610f3185ba6603c"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteComponent (cyclomatic 18): SvelteComponent 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"495ee4384411d9ce44055e6eea194587e2ec8578a9607ad5c76d295c34ed8590"}},{"ruleId":"D1","level":"warning","message":{"text":"RelativeSelector (cyclomatic 18): RelativeSelector has cyclomatic complexity 18 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 3 belong to 4 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81feef105a492910ae945b3003c6b7a1036d48e10ddfb46f7e4a84ba449c810"}},{"ruleId":"D1","level":"warning","message":{"text":"get_comment_handlers.add_comments::_ (cyclomatic 18): get_comment_handlers.add_comments::_ has cyclomatic complexity 18 (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":"packages/svelte/src/compiler/phases/1-parse/acorn.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82310d888cabdf07b2ea4f781a92657eace5a39b9198af837adbda18e6808d7"}},{"ruleId":"D1","level":"warning","message":{"text":"find_descendants (cyclomatic 18): find_descendants has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/nodes.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b054741ea8b930f332a9c96417ffe356b3aa0902712329c17dc356dbd1f3de1"}},{"ruleId":"D1","level":"warning","message":{"text":"element.read_attribute_value (cyclomatic 17): element.read_attribute_value 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, 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9892f381a29adc39916f4c43ad31acfc742e98a59a51221a9f91400849bafb"}},{"ruleId":"D1","level":"warning","message":{"text":"batch.flush_queued_effects (cyclomatic 17): batch.flush_queued_effects 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0466e1aa887844b3c4ba2d18a1c8d0430d95c44dd84ca6ca67022fbd11f8c0a"}},{"ruleId":"D1","level":"warning","message":{"text":"generate-report.generate_report (cyclomatic 17): generate-report.generate_report has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 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":"benchmarking/compare/generate-report.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cafc68d0692157d30e53df72e37904deaa64df11349316ad538220ce7a42e5"}},{"ruleId":"D1","level":"warning","message":{"text":"SvelteElement.SvelteElement (cyclomatic 17): SvelteElement.SvelteElement has cyclomatic complexity 17 (threshold 15). Of this number, 15 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteElement.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4441ba79c282485c4dda3de55e5ef5b862d08b7f67aeb293ba19f4c31f5874"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.get_prop_source (cyclomatic 17): utils.get_prop_source 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":"packages/svelte/src/compiler/phases/3-transform/client/utils.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c94dbef981679e83b823f93d613edad7741550df0132ca2670f9bf972a68cd"}},{"ruleId":"D1","level":"warning","message":{"text":"element.build_set_class (cyclomatic 17): element.build_set_class 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, 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed1d7f0a64206eea24cae50c93b04da428b9e69541b52d00fc8da90452e7dbe"}},{"ruleId":"D1","level":"warning","message":{"text":"index.handle_events (cyclomatic 17): index.handle_events 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d216124ca6edeecb09f990c82ee44a01bda51eda8fa835396734399410b3636e"}},{"ruleId":"D1","level":"warning","message":{"text":"set_attribute (cyclomatic 17): set_attribute 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"539090c6001da77ee059c3d854aba47ebd50967020658cadca0e74a12896d346"}},{"ruleId":"D1","level":"warning","message":{"text":"transition (cyclomatic 17): transition has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to 10 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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df51af86f7b2c66a494fb4e1ce4f02d46ed25dceb8622723cae873f3c745c89"}},{"ruleId":"D1","level":"warning","message":{"text":"build_attribute_value (cyclomatic 17): build_attribute_value 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e2f682df86aea921664c0679b5f9dd1ee3b2c83eac93e3616313d6f3343b92"}},{"ruleId":"D1","level":"warning","message":{"text":"proxy::set (cyclomatic 17): proxy::set 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8a595a6e7fe85d80cbfaa0f77f221584bc5b603eb5d067822b9136145aa47f"}},{"ruleId":"D1","level":"warning","message":{"text":"visit_assignment_expression (cyclomatic 17): visit_assignment_expression has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 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":"packages/svelte/src/compiler/phases/3-transform/shared/assignments.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2591985fcea1b781e60e2666b35af7965491688c11a58fca907792d2a21c86"}},{"ruleId":"D1","level":"warning","message":{"text":"html.validate_code (cyclomatic 16): html.validate_code 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":"packages/svelte/src/compiler/phases/1-parse/utils/html.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"1451be7710f27c33813eb12df702a2e6a9bbbeb50ef7245578c9b8732110d676"}},{"ruleId":"D1","level":"warning","message":{"text":"debug.log_effect_tree (cyclomatic 16): debug.log_effect_tree 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc8957f53d97b6002b3a7dfcee3db0ab5a5cadc2b40df4103959017cdf734fd"}},{"ruleId":"D1","level":"warning","message":{"text":"Boundary.#handle_error (cyclomatic 16): Boundary.#handle_error has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 551, handle_error_result, a function literal at line 527, \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":"packages/svelte/src/internal/client/dom/blocks/boundary.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cd37c05e24b5ff6e4d44775395cd965cdbcdd67f1b8386725e333577a6c0280"}},{"ruleId":"D1","level":"warning","message":{"text":"Batch.#traverse (cyclomatic 16): Batch.#traverse 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce0d67163e5d7d6c474a672a99ed8ec0c11eb9d41b2f2f165efd1a30afa50bd"}},{"ruleId":"D1","level":"warning","message":{"text":"sources.mark_reactions (cyclomatic 16): sources.mark_reactions 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60712b27fd865a1f3b26dc12f0d2b3392d8b23be9b7608eb1fe2618b203b9e6"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.deep_read (cyclomatic 16): runtime.deep_read 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"988cb7a624ae3a5178d94f73a4927f5b36c1366a095ac5ef144ea2ccfb912889"}},{"ruleId":"D1","level":"warning","message":{"text":"attributes.to_class (cyclomatic 16): attributes.to_class 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d852a83ee4382d048da647015fc3a6602b00e0ffce8fe989ab3f49bdb38b7287"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.check_nodes_for_namespace (cyclomatic 16): utils.check_nodes_for_namespace has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd49d05650896f6e17858d7cee292ee20a956183e81f36d625b796639804e12"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassBody.ClassBody (cyclomatic 16): ClassBody.ClassBody 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/ClassBody.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa94e033afa5b03cbe1c1ea375149d54c42b86b9cf5307e399e1133341090d35"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.validate_mutation (cyclomatic 16): utils.validate_mutation 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"715cba66e3f3a2043ab448d9541a86e88a5ad816fb0c290f423a4589d8305894"}},{"ruleId":"D1","level":"warning","message":{"text":"index.transform_template (cyclomatic 16): index.transform_template 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-template/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a154e64fab033f69641d7aae377afc60033fd21f8708a59c8368f7e91598cd7f"}},{"ruleId":"D1","level":"warning","message":{"text":"process_children (cyclomatic 16): process_children has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad44274eaa827fa8ad9418231cad84a747008d1d05e2ed3a98e8e2eb2216697e"}},{"ruleId":"D1","level":"warning","message":{"text":"IfBlock (cyclomatic 16): IfBlock 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"76753e32938bf0e41cea88a7df35c414eab06e478ccba5837f7d0ea78c633bea"}},{"ruleId":"D1","level":"warning","message":{"text":"read_profile (cyclomatic 16): read_profile 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":"benchmarking/compare/profile-diff.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eacfcb7df896a4f48cfebb9193e94c6f6096c7787a87fd4c6d048f6fe73074f5"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_component (cognitive 385): analyze_component has cognitive complexity 385 (threshold 15). Drivers by points: if/else 68 (205 pts), loops 30 (100 pts), boolean chains 56, ternaries 8 (20 pts), other 4 (nesting depth added 219). Of this number, 360 points are the body\u0027s own statements and 25 belong to 10 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe9bd568d32e6f86515935c69d0ab3ebdc2a7d75cb5c0bb1dcc682d39b6d9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableDeclaration (cognitive 266): VariableDeclaration has cognitive complexity 266 (threshold 15). Drivers by points: if/else 37 (146 pts), ternaries 11 (70 pts), loops 7 (29 pts), boolean chains 18, other 3 (nesting depth added 190). Of this number, 229 points are the body\u0027s own statements and 37 belong to 7 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"988457b9c909d2b967dc9a423a39b8748844da45aee502687dab9d86756a17b1"}},{"ruleId":"D2","level":"warning","message":{"text":"check_element (cognitive 257): check_element has cognitive complexity 257 (threshold 15). Drivers by points: if/else 72 (182 pts), boolean chains 61, loops 4 (7 pts), match/switch 3 (5 pts), other 1, ternaries 1 (nesting depth added 115). Of this number, 243 points are the body\u0027s own statements and 14 belong to 15 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6796a343aeacbdb9f0bc84ec6fae0e7f4e6d324bb4b974bc69a8767c373537"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate (cognitive 179): migrate has cognitive complexity 179 (threshold 15). Drivers by points: ternaries 26 (89 pts), if/else 34 (62 pts), boolean chains 20, loops 3 (4 pts), other 3, error handling 1 (nesting depth added 92). Of this number, 130 points are the body\u0027s own statements and 49 belong to 23 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11cd92fbdc491c12d4b0b322b2b2d96e9e7ff32d66446e2c444edf64460c14"}},{"ruleId":"D2","level":"warning","message":{"text":"RegularElement (cognitive 178): RegularElement has cognitive complexity 178 (threshold 15). Drivers by points: if/else 50 (91 pts), boolean chains 52, ternaries 10 (24 pts), loops 5 (8 pts), match/switch 1 (2 pts), other 1 (nesting depth added 59). Of this number, 167 points are the body\u0027s own statements and 11 belong to 12 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ab3d082427109c0192551a7f7f2561cf3ba2ac009b259ff90a3782e48836a8"}},{"ruleId":"D2","level":"warning","message":{"text":"build_component (cognitive 170): build_component has cognitive complexity 170 (threshold 15). Drivers by points: if/else 51 (95 pts), ternaries 19 (48 pts), boolean chains 21, loops 4 (5 pts), other 1 (nesting depth added 74). Of this number, 150 points are the body\u0027s own statements and 20 belong to 14 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b3b42a74fa06e2228ce9966fdaf5d715b150b1ead3bddcb8cf092b2dcebbf"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableDeclaration (cognitive 157): VariableDeclaration has cognitive complexity 157 (threshold 15). Drivers by points: if/else 30 (79 pts), ternaries 5 (24 pts), loops 7 (23 pts), boolean chains 22, other 7, error handling 1 (2 pts) (nesting depth added 85). Of this number, 138 points are the body\u0027s own statements and 19 belong to 10 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"0109162225e30550ff6b6c683b46dcd53c4d4456f290ff972ae623ec754bcb3c"}},{"ruleId":"D2","level":"warning","message":{"text":"client_component (cognitive 154): client_component has cognitive complexity 154 (threshold 15). Drivers by points: if/else 57 (85 pts), ternaries 11 (27 pts), boolean chains 16, loops 9 (14 pts), other 12 (nesting depth added 49). Of this number, 134 points are the body\u0027s own statements and 20 belong to 7 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"25208d0398e8d4423fff88137c5983fb56d82a4f5ea4e898590f1b4f9a079136"}},{"ruleId":"D2","level":"warning","message":{"text":"element (cognitive 152): element has cognitive complexity 152 (threshold 15). Drivers by points: if/else 53 (103 pts), boolean chains 26, ternaries 10 (16 pts), loops 3 (5 pts), other 2 (nesting depth added 58). Of this number, 150 points are the body\u0027s own statements and 2 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2cd38e03102c0dc76d453149c30470b828d72694834e71aa2a29687554b7e5"}},{"ruleId":"D2","level":"warning","message":{"text":"index.svelte_visitors (cognitive 151): index.svelte_visitors has cognitive complexity 151 (threshold 15). Drivers by points: if/else 67 (103 pts), boolean chains 22, loops 15 (19 pts), ternaries 4 (7 pts) (nesting depth added 43). Of this number, 149 points are the body\u0027s own statements and 2 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d44d2062dfdd037647795276e39abe24c6ae0407392434689fc49fec8a93442"}},{"ruleId":"D2","level":"warning","message":{"text":"relative_selector_might_apply_to_node (cognitive 145): relative_selector_might_apply_to_node has cognitive complexity 145 (threshold 15). Drivers by points: if/else 24 (77 pts), loops 8 (33 pts), boolean chains 21, ternaries 3 (11 pts), match/switch 1 (2 pts), other 1 (nesting depth added 87). Of this number, 142 points are the body\u0027s own statements and 3 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9cd72405b6659033517c0db53a20f054c1ac8ddf31e278085c94005d1e039c"}},{"ruleId":"D2","level":"warning","message":{"text":"element.build_element_attributes (cognitive 139): element.build_element_attributes has cognitive complexity 139 (threshold 15). Drivers by points: if/else 44 (98 pts), boolean chains 25, ternaries 3 (11 pts), loops 3 (5 pts) (nesting depth added 64). Of this number, 137 points are the body\u0027s own statements and 2 belong to 3 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0485db8553988e58c024e23fac584566b9e149b5e641463588f142b2b7812ffd"}},{"ruleId":"D2","level":"warning","message":{"text":"BindDirective.BindDirective (cognitive 138): BindDirective.BindDirective has cognitive complexity 138 (threshold 15). Drivers by points: if/else 37 (95 pts), boolean chains 24, ternaries 3 (10 pts), loops 4 (9 pts) (nesting depth added 70). Of this number, 133 points are the body\u0027s own statements and 5 belong to 4 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"172c831a74d2fd29df040782c2ef9d41e3e228865b0dcbfc43e52fbac5e3fee9"}},{"ruleId":"D2","level":"warning","message":{"text":"profile_to_markdown (cognitive 135): profile_to_markdown has cognitive complexity 135 (threshold 15). Drivers by points: ternaries 20 (53 pts), if/else 16 (42 pts), loops 8 (19 pts), boolean chains 14, other 7 (nesting depth added 70). Of this number, 107 points are the body\u0027s own statements and 28 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":"benchmarking/utils.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c8016c6449dc0ccf7138f4c99a0434e0794c422a755879f12b2150ec7da8bd"}},{"ruleId":"D2","level":"warning","message":{"text":"constructor (cognitive 131): constructor has cognitive complexity 131 (threshold 15). Drivers by points: if/else 34 (77 pts), boolean chains 21, loops 8 (20 pts), match/switch 4 (9 pts), ternaries 1 (4 pts) (nesting depth added 63). 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b303ca344e58c7a08456bc0538eb5aba22a9372df6535dabbe7f652c911674c"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableDeclarator (cognitive 128): VariableDeclarator has cognitive complexity 128 (threshold 15). Drivers by points: if/else 21 (63 pts), ternaries 8 (37 pts), loops 4 (14 pts), boolean chains 12, other 2 (nesting depth added 81). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0679fecfe74e1af9a6cfa18e4ba2365c70f645bf53f3c67eb2994e6680b2e08b"}},{"ruleId":"D2","level":"warning","message":{"text":"element.validate_element (cognitive 122): element.validate_element has cognitive complexity 122 (threshold 15). Drivers by points: if/else 29 (86 pts), ternaries 4 (18 pts), loops 3 (10 pts), boolean chains 8 (nesting depth added 78). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/element.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ef1f7ee1f164069228016db70c1260a581bfc2886387ee0c2077beb326078e"}},{"ruleId":"D2","level":"warning","message":{"text":"each.reconcile (cognitive 121): each.reconcile has cognitive complexity 121 (threshold 15). Drivers by points: if/else 28 (68 pts), loops 12 (36 pts), ternaries 3 (12 pts), boolean chains 5 (nesting depth added 73). Of this number, 117 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bd549b07c8dac05703d2a552cc0c0d88282bb696e7ea37cbbe7af3956d5e85"}},{"ruleId":"D2","level":"warning","message":{"text":"index.calculate_blockers (cognitive 118): index.calculate_blockers has cognitive complexity 118 (threshold 15). Drivers by points: if/else 42 (78 pts), loops 9 (23 pts), ternaries 4 (14 pts), boolean chains 3 (nesting depth added 60). Of this number, 94 points are the body\u0027s own statements and 24 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20505ac0b25f6756ddc7a9fbda49bbd31654f38c66fa89d48faf31878aa1a25"}},{"ruleId":"D2","level":"warning","message":{"text":"open (cognitive 116): open has cognitive complexity 116 (threshold 15). Drivers by points: if/else 36 (80 pts), error handling 5 (15 pts), loops 5 (14 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 64). Of this number, 113 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afa1c6bb6e40f85ea5a95606668b6be6bb34f482f2dac131002e766a76f9446"}},{"ruleId":"D2","level":"warning","message":{"text":"options.read_options (cognitive 115): options.read_options has cognitive complexity 115 (threshold 15). Drivers by points: if/else 30 (89 pts), loops 4 (13 pts), boolean chains 8, ternaries 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 71). 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":"packages/svelte/src/compiler/phases/1-parse/read/options.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a4c6bf635988ab23ceb1cd51b43081258d102df546921afca7e6194a78f386"}},{"ruleId":"D2","level":"warning","message":{"text":"RegularElement.RegularElement (cognitive 115): RegularElement.RegularElement has cognitive complexity 115 (threshold 15). Drivers by points: if/else 32 (82 pts), boolean chains 18, loops 6 (15 pts) (nesting depth added 59). Of this number, 107 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"af24a4aaf2a0d1b61d0e2538fc9322717ef9f2f7efc0bb9ae73c9d3f63c75f62"}},{"ruleId":"D2","level":"warning","message":{"text":"set_attributes (cognitive 113): set_attributes has cognitive complexity 113 (threshold 15). Drivers by points: if/else 37 (73 pts), boolean chains 26, ternaries 2 (12 pts), loops 2 (nesting depth added 46). 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56978ef9b57d70869f3438581f1c5cdefc1b69dbb067ca1d586a067c52e1fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"VariableDeclaration (cognitive 109): VariableDeclaration has cognitive complexity 109 (threshold 15). Drivers by points: if/else 19 (55 pts), loops 6 (24 pts), ternaries 5 (20 pts), boolean chains 8, other 2 (nesting depth added 69). Of this number, 95 points are the body\u0027s own statements and 14 belong to 4 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"39763befe086a5d186f12a99e337135d265ceaf07735ba76880282166e6644cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Identifier (cognitive 108): Identifier has cognitive complexity 108 (threshold 15). Drivers by points: if/else 26 (70 pts), boolean chains 23, loops 3 (9 pts), ternaries 1 (6 pts) (nesting depth added 55). Of this number, 107 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dffa401752fbfdbce6cf6641fc62217ac3740d78e4a54f7bbd4de039161cbed"}},{"ruleId":"D2","level":"warning","message":{"text":"scope.create_scopes (cognitive 103): scope.create_scopes has cognitive complexity 103 (threshold 15). Drivers by points: if/else 36 (51 pts), loops 21 (33 pts), boolean chains 10, ternaries 4 (9 pts) (nesting depth added 32). Of this number, 87 points are the body\u0027s own statements and 16 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea6ba9ed78efe6c30945599e87761e357b26059f57c3828c0875f65984688ba"}},{"ruleId":"D2","level":"warning","message":{"text":"EachBlock (cognitive 97): EachBlock has cognitive complexity 97 (threshold 15). Drivers by points: if/else 28 (39 pts), ternaries 17 (33 pts), loops 9 (16 pts), boolean chains 9 (nesting depth added 34). Of this number, 78 points are the body\u0027s own statements and 19 belong to 10 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2470bd588b0b495583e8062b12b5115ed3d367b98aa7bb339a4ecb078cd152ea"}},{"ruleId":"D2","level":"warning","message":{"text":"build_inline_component (cognitive 91): build_inline_component has cognitive complexity 91 (threshold 15). Drivers by points: if/else 34 (61 pts), ternaries 7 (14 pts), boolean chains 13, loops 3 (nesting depth added 34). Of this number, 74 points are the body\u0027s own statements and 17 belong to 11 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9414cae408364ed30db6117bf40dfdb90ff7d35f99ce5487170b8185a403f28"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassBody (cognitive 91): ClassBody has cognitive complexity 91 (threshold 15). Drivers by points: if/else 25 (62 pts), ternaries 4 (12 pts), boolean chains 10, loops 5 (7 pts) (nesting depth added 47). Of this number, 78 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ClassBody.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e3b747468be566b0751a2494c4f7fad6d3a1ce91a97e1bfc69025481dfc62b"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.proxy (cognitive 88): proxy.proxy has cognitive complexity 88 (threshold 15). Drivers by points: if/else 39 (60 pts), boolean chains 21, loops 3 (4 pts), ternaries 2 (3 pts) (nesting depth added 23). Of this number, 81 points are the body\u0027s own statements and 7 belong to 6 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2656c1a4c6a978865a1b52f751a29455100b2e6fc1e5b0f1190763b2b95e5aa"}},{"ruleId":"D2","level":"warning","message":{"text":"#commit (cognitive 87): #commit has cognitive complexity 87 (threshold 15). Drivers by points: if/else 19 (55 pts), loops 7 (21 pts), boolean chains 6, error handling 1 (5 pts) (nesting depth added 54). Of this number, 77 points are the body\u0027s own statements and 10 belong to 5 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f3a2ad38c045ddde9d27b5771b7a5bafe592268b9f976f582a1f74413eff4d"}},{"ruleId":"D2","level":"warning","message":{"text":"get (cognitive 87): get has cognitive complexity 87 (threshold 15). Drivers by points: if/else 29 (69 pts), boolean chains 18 (nesting depth added 40). 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"2607f83f70d32f47efbfc082bb402ff3bf04f9ab960d787265581cf3f2b8d4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"CallExpression.CallExpression (cognitive 84): CallExpression.CallExpression has cognitive complexity 84 (threshold 15). Drivers by points: if/else 38 (70 pts), boolean chains 11, loops 1 (2 pts), match/switch 1 (nesting depth added 33). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1946439e91edaf03601bfb5d3691a6a1b427fed57888915db9bfa2a757658b9"}},{"ruleId":"D2","level":"warning","message":{"text":"css-prune.attribute_matches (cognitive 79): css-prune.attribute_matches has cognitive complexity 79 (threshold 15). Drivers by points: if/else 27 (69 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 44). Of this number, 64 points are the body\u0027s own statements and 15 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d13ea7a958004ed8fd51fe6162f9ac6df2c21d911ff2b71aad07063d904da9"}},{"ruleId":"D2","level":"warning","message":{"text":"to_style (cognitive 79): to_style has cognitive complexity 79 (threshold 15). Drivers by points: if/else 22 (66 pts), boolean chains 7, loops 1 (3 pts), ternaries 2 (3 pts) (nesting depth added 47). 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdff07ea9ec852c6ff9932c657a5079c1a188c178ace1baaca1fbc307aaa9e1"}},{"ruleId":"D2","level":"warning","message":{"text":"build_assignment (cognitive 78): build_assignment has cognitive complexity 78 (threshold 15). Drivers by points: if/else 17 (33 pts), boolean chains 24, ternaries 7 (19 pts), loops 1, other 1 (nesting depth added 28). Of this number, 74 points are the body\u0027s own statements and 4 belong to 4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f9e3e040cc1f78026a13e37d2daae681375904a4ff528a63db7c9abe641516"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate_slot_usage (cognitive 77): migrate_slot_usage has cognitive complexity 77 (threshold 15). Drivers by points: if/else 22 (48 pts), boolean chains 13, loops 5 (12 pts), ternaries 2 (4 pts) (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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dd22f2a267841d19138906d7eeb405a88bda5b35e60cbd709e30fef77745e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ComplexSelector (cognitive 74): ComplexSelector has cognitive complexity 74 (threshold 15). Drivers by points: if/else 17 (58 pts), boolean chains 9, loops 3 (7 pts) (nesting depth added 45). 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eed60d549c13451c9ef5a427148f71cadc7b63346f0a9152558b5d42b8bdad4"}},{"ruleId":"D2","level":"warning","message":{"text":"each (cognitive 72): each has cognitive complexity 72 (threshold 15). Drivers by points: if/else 33 (56 pts), ternaries 5 (9 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 29). Most of this is not in the body itself: 6 of the 72 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 268, commit, a function literal at line 207, \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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf32fca4da2220358cbb76bbed9a4845b476333173040d7c484f2136c718fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"SelectorList (cognitive 72): SelectorList has cognitive complexity 72 (threshold 15). Drivers by points: if/else 18 (48 pts), ternaries 2 (12 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 46). 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c96d6b1bbca2264d1cd5493cdd54b0790b47654026919443e35c6cd24e5d14"}},{"ruleId":"D2","level":"warning","message":{"text":"SlotElement (cognitive 70): SlotElement has cognitive complexity 70 (threshold 15). Drivers by points: if/else 17 (29 pts), ternaries 8 (26 pts), boolean chains 8, loops 2 (6 pts), other 1 (nesting depth added 34). Of this number, 65 points are the body\u0027s own statements and 5 belong to 6 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c659d9655382b13475c837ff4c3671db8f407959748be0b2c612571bca77f0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"log_reactions::log_derived (cognitive 70): log_reactions::log_derived has cognitive complexity 70 (threshold 15). Drivers by points: if/else 12 (36 pts), ternaries 6 (20 pts), loops 2 (6 pts), error handling 1 (4 pts), boolean chains 2, other 2 (nesting depth added 45). 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ffa2842df986f73965c349ccb40b90e259fedd9ba0e70e0b4897345f17792d"}},{"ruleId":"D2","level":"warning","message":{"text":"clean_nodes (cognitive 70): clean_nodes has cognitive complexity 70 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 22, ternaries 2 (10 pts), loops 4 (7 pts) (nesting depth added 27). 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba1428ef835a082db66761e32a7ae34b8a9432feef6213f233274f56c6b20cf"}},{"ruleId":"D2","level":"warning","message":{"text":"handle_identifier (cognitive 67): handle_identifier has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (43 pts), ternaries 4 (11 pts), boolean chains 7, loops 1 (4 pts), other 2 (nesting depth added 34). 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"16606564340f3e59f7339b306528ec88632bc0a5c0f3c4a16db1bfd14d17f8f5"}},{"ruleId":"D2","level":"warning","message":{"text":"get_possible_element_siblings (cognitive 63): get_possible_element_siblings has cognitive complexity 63 (threshold 15). Drivers by points: if/else 15 (40 pts), loops 4 (10 pts), boolean chains 8, ternaries 2 (5 pts) (nesting depth added 34). Of this number, 62 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"514454f94a5e93435d8b617d99771eca008b1578f93caf6264ca4b316d97a37f"}},{"ruleId":"D2","level":"warning","message":{"text":"BindDirective (cognitive 62): BindDirective has cognitive complexity 62 (threshold 15). Drivers by points: if/else 17 (29 pts), other 15, boolean chains 9, ternaries 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 17). Of this number, 57 points are the body\u0027s own statements and 5 belong 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/BindDirective.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c69c84f1abf449114d9e7a2895acc569d55cef5413fa8c88a2589fd8d780a6b"}},{"ruleId":"D2","level":"warning","message":{"text":"attribute.validate_slot_attribute (cognitive 61): attribute.validate_slot_attribute has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (48 pts), boolean chains 7, loops 2 (6 pts) (nesting depth added 37). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f299523f6ce67e340874dddea10e5d54e7d53f06c3af76db7ac16bc3253252fa"}},{"ruleId":"D2","level":"warning","message":{"text":"read_selector (cognitive 58): read_selector has cognitive complexity 58 (threshold 15). Drivers by points: if/else 19 (36 pts), ternaries 4 (15 pts), boolean chains 6, loops 1 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6533df898d230f21f9f8c505aa2a5a770aff7a661d94ed2525cd16a5368fffe4"}},{"ruleId":"D2","level":"warning","message":{"text":"LabeledStatement (cognitive 56): LabeledStatement has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 3 (13 pts), ternaries 2 (10 pts), boolean chains 5 (nesting depth added 32). Of this number, 55 points are the body\u0027s own statements and 1 belongs 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc43d5dbf4d9affa9ea015aebeabb5f6d7ffe6a196b04e047795504df33558ee"}},{"ruleId":"D2","level":"warning","message":{"text":"prop (cognitive 56): prop has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (30 pts), ternaries 7 (15 pts), boolean chains 10, other 1 (nesting depth added 17). Of this number, 24 points are the body\u0027s own statements and 32 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":"packages/svelte/src/internal/client/reactivity/props.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2bda9e48ec5ed5f99e801a37bcc74703e998d462bca9322f202d48cece06d6"}},{"ruleId":"D2","level":"warning","message":{"text":"server_component (cognitive 55): server_component has cognitive complexity 55 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 9, loops 5 (8 pts), other 4, ternaries 2 (3 pts) (nesting depth added 13). Of this number, 51 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/server/transform-server.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"379d9cb7d1625b2fca9b6410b5b9d6dbdaf6af2b62c9f072e69b7528aecb50c9"}},{"ruleId":"D2","level":"warning","message":{"text":"visit_component (cognitive 55): visit_component has cognitive complexity 55 (threshold 15). Drivers by points: if/else 17 (38 pts), loops 6 (7 pts), boolean chains 6, ternaries 2 (3 pts), other 1 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1ec62d637b1713136c6900a5a38a0e601a5e632711b9fa1d6d8f2abcc00d44"}},{"ruleId":"D2","level":"warning","message":{"text":"index.run::transform (cognitive 54): index.run::transform has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (41 pts), loops 5 (10 pts), boolean chains 3 (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. This shape REPEATS in the file: one other method here (index.run) 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":"packages/svelte/scripts/process-messages/index.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e5a3853ee907f206f4dc6bd9b847935d5b649f7bd9988d3d5585eca0d0f65f"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze-compiler-profile.analyze_compiler_profiles (cognitive 52): analyze-compiler-profile.analyze_compiler_profiles has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (24 pts), loops 5 (11 pts), ternaries 6 (11 pts), boolean chains 4, error handling 1 (2 pts) (nesting depth added 26). Of this number, 49 points are the body\u0027s own statements and 3 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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d161e69f08b81583780785e7d2cb33e5dec4fbaf9e345e83076f68fe3b844208"}},{"ruleId":"D2","level":"warning","message":{"text":"ast._extract_paths (cognitive 52): ast._extract_paths has cognitive complexity 52 (threshold 15). Drivers by points: if/else 15 (39 pts), loops 3 (8 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 30). 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f47d0d0bd8647f0e899e77036e6aa92b61b5aacea87d9bca6ed77aedd72b538"}},{"ruleId":"D2","level":"warning","message":{"text":"element.read_attribute (cognitive 52): element.read_attribute has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (36 pts), boolean chains 10, ternaries 2 (5 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c552966eb36212353c21834d2796587e9291faae8d59606a4ed130f8cdc5a5"}},{"ruleId":"D2","level":"warning","message":{"text":"LabeledStatement.LabeledStatement (cognitive 52): LabeledStatement.LabeledStatement has cognitive complexity 52 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 4 (16 pts), boolean chains 3 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LabeledStatement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83b80c30523e9ab326fda48f0c71d2a79a23fc2b21e8f5e3596b513ba054d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"async_derived (cognitive 50): async_derived has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (33 pts), loops 4 (12 pts), boolean chains 3, error handling 1, other 1 (nesting depth added 19). Most of this is not in the body itself: 4 of the 50 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 132, (anonymous)::handler, a function literal at line 237, \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":"packages/svelte/src/internal/client/reactivity/deriveds.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb936043999ef0c7cd108d1633506fbdb4505343ef6aaf133bc0fa49a8a6b2a3"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.gather_possible_values (cognitive 49): utils.gather_possible_values has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (30 pts), loops 3 (8 pts), boolean chains 7, ternaries 1 (4 pts) (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":"packages/svelte/src/compiler/phases/2-analyze/css/utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19173065a221bbbd48cd3120f3580f68b65cc261aac9cafeba63584a02c6e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"internal_set (cognitive 49): internal_set has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (43 pts), boolean chains 5, other 1 (nesting depth added 27). 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a670a99ba5732a19e870986b127fb1031a39e08ac3b6471b7bd9e5baff5cb969"}},{"ruleId":"D2","level":"warning","message":{"text":"clone (cognitive 49): clone has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (28 pts), ternaries 3 (12 pts), loops 2 (6 pts), boolean chains 2, error handling 1 (nesting depth added 28). 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":"packages/svelte/src/internal/shared/clone.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f06df20903f103991d59df3733a056f25e66a33f3c82d37a30f3e2798a03990"}},{"ruleId":"D2","level":"warning","message":{"text":"svelte_visitors::Fragment (cognitive 48): svelte_visitors::Fragment has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (36 pts), boolean chains 8, loops 3 (4 pts) (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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ba630e7cf6ea92aa3fc73fda4588bccac3c3081a5939bdabc8b0ed9542015b"}},{"ruleId":"D2","level":"warning","message":{"text":"SvelteBoundary (cognitive 48): SvelteBoundary has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 3 (7 pts), boolean chains 4, loops 3, other 2 (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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteBoundary.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37860066851faaaceec5870122db1a56151c5f37fab55c94ec0c6a45a08505"}},{"ruleId":"D2","level":"warning","message":{"text":"flush_queued_effects (cognitive 46): flush_queued_effects has cognitive complexity 46 (threshold 15). Drivers by points: if/else 7 (26 pts), loops 4 (15 pts), boolean chains 5 (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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e97f62e29b2f07cf947363c17b62eb581333ceb0d9e8e0b2fdf02d2e6b7df8a"}},{"ruleId":"D2","level":"warning","message":{"text":"handle_events (cognitive 45): handle_events has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 5 (12 pts), ternaries 2 (8 pts), boolean chains 2 (nesting depth added 25). 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc7fb44eaf49b0b72ce8ddc2ff03d9b3aeb9acc8cc38391c3d6d50291679a9d"}},{"ruleId":"D2","level":"warning","message":{"text":"next (cognitive 45): next has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (32 pts), error handling 3 (10 pts), loops 1 (3 pts) (nesting depth added 25). 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d3e2a7a1c92843914ba56c27a0a12cbb0740897d0c4e47fe1ea895ddd27fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"Rule (cognitive 45): Rule has cognitive complexity 45 (threshold 15). Drivers by points: if/else 9 (29 pts), loops 4 (9 pts), boolean chains 7 (nesting depth added 25). 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf57099c3cefc10dbb5d2827cb6d4078c0c0a415eaba44e56c16d134146978ce"}},{"ruleId":"D2","level":"warning","message":{"text":"connectedCallback (cognitive 45): connectedCallback has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 6 (13 pts), boolean chains 6 (nesting depth added 22). Of this number, 32 points are the body\u0027s own statements and 13 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d565245ef8c0299b552a8e59cc47796a78002e21b7d7b82549fef686570961"}},{"ruleId":"D2","level":"warning","message":{"text":"ExportNamedDeclaration (cognitive 45): ExportNamedDeclaration has cognitive complexity 45 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 4 (14 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 24). Of this number, 43 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d7a046162961a9cc1ceb2a1373deb9c4bb2e0195a7bbe4a0ca94de67cf7098"}},{"ruleId":"D2","level":"warning","message":{"text":"MappedCode.concat (cognitive 44): MappedCode.concat has cognitive complexity 44 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 7 (17 pts), boolean chains 2 (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":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"805f3e32b2332c3f9f9e49d057895479b94d32267eb7fa5eca76405c333ac611"}},{"ruleId":"D2","level":"warning","message":{"text":"ComplexSelector (cognitive 44): ComplexSelector has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 11, loops 3 (6 pts) (nesting depth added 20). Of this number, 42 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04405c3fafefa151fde202ce18fb2e858a60a295210aad60ebb694683d38db7"}},{"ruleId":"D2","level":"warning","message":{"text":"RegularElement (cognitive 44): RegularElement has cognitive complexity 44 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 11, ternaries 2 (3 pts), loops 1 (nesting depth added 9). Of this number, 41 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1de53699052dc42b0d72bfde61e3cb2d3f740dec7a45d1d5d889224033394fe"}},{"ruleId":"D2","level":"warning","message":{"text":"Program (cognitive 43): Program has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (25 pts), ternaries 3 (10 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 22). Of this number, 24 points are the body\u0027s own statements and 19 belong to 14 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97cd63abbf6831070860d2dd8eb61e3e88ddc89a74a4fcfc88749bd98d25138"}},{"ruleId":"D2","level":"warning","message":{"text":"attributes (cognitive 42): attributes has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (27 pts), boolean chains 6, loops 2 (5 pts), ternaries 1 (4 pts) (nesting depth added 21). 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":"packages/svelte/src/internal/server/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cc0a7685132bbb88c7dcc7a011c73a910949478cdf3c6b580a1b16635f0daf"}},{"ruleId":"D2","level":"warning","message":{"text":"build_template_chunk (cognitive 40): build_template_chunk has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (29 pts), boolean chains 6, loops 2, other 2, ternaries 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe108ffe332102a4419420eee6a93b7413a2f954d930f625430f3e2f1c4054"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy.convert (cognitive 39): legacy.convert has cognitive complexity 39 (threshold 15). Drivers by points: if/else 21 (25 pts), boolean chains 5, loops 3 (5 pts), ternaries 4 (nesting depth added 6). 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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cac7be16e30ad74bdc2c9fbb33273e7f82e0827c0f9da4bc9f1eb7e7cad59f"}},{"ruleId":"D2","level":"warning","message":{"text":"css-prune.get_ancestor_elements (cognitive 39): css-prune.get_ancestor_elements has cognitive complexity 39 (threshold 15). Drivers by points: if/else 9 (28 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 22). 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, 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0556999b9d045a4d229198332874edd33bd1aff22e3a12ac4b4df67eb7cce8a"}},{"ruleId":"D2","level":"warning","message":{"text":"element (cognitive 38): element has cognitive complexity 38 (threshold 15). Drivers by points: if/else 14 (24 pts), ternaries 5 (8 pts), boolean chains 6 (nesting depth added 13). Most of this is not in the body itself: 6 of the 38 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 72, 58, 139, \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":"packages/svelte/src/internal/client/dom/blocks/svelte-element.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"156743aaf7f796a80717c7ffe6d5f0e212646f3cf4a6d15067a597493d2e9ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"Batch.#process (cognitive 37): Batch.#process has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 8 (15 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273924f61469f3a1af425fecad63774a9b0cb6fc475ba7f8dbf05533e42a601"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-support.detector.build_detection_maps (cognitive 37): browser-support.detector.build_detection_maps has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (24 pts), loops 3 (7 pts), boolean chains 6 (nesting depth added 19). Of this number, 35 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8f9c384822ad913067b59616a56fa99dbcdffb8d2401124e2fcb11f1278959"}},{"ruleId":"D2","level":"warning","message":{"text":"SvelteElement.SvelteElement (cognitive 36): SvelteElement.SvelteElement has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 8, ternaries 5 (8 pts), 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82f5201b8bd31976929c87fc006144f10f58e976a69af287a5bc2fc2e3a78d4"}},{"ruleId":"D2","level":"warning","message":{"text":"log_inconsistent_branches (cognitive 36): log_inconsistent_branches has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 7 (11 pts), ternaries 5 (7 pts), boolean chains 5 (nesting depth added 8). Most of this is not in the body itself: 5 of the 36 points are its own statements and the rest belongs to 3 function items inside it that branch (log_branch, collect_branches, has_inconsistency). 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"031cc3644ddc21a25c58a1211a7f02f02655195dbd7f9758db096da2f0674d19"}},{"ruleId":"D2","level":"warning","message":{"text":"handle_event_propagation (cognitive 36): handle_event_propagation has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 9, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 11). Of this number, 35 points are the body\u0027s own statements and 1 belongs 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":"packages/svelte/src/internal/client/dom/elements/events.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"399b4343e06a9d1b3f657003ede86912d3212971703c40fd0bb400f38d9385aa"}},{"ruleId":"D2","level":"warning","message":{"text":"html.html (cognitive 35): html.html has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (18 pts), ternaries 5 (7 pts), boolean chains 6, loops 2 (4 pts) (nesting depth added 9). Most of this is not in the body itself: 3 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 72). 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":"packages/svelte/src/internal/client/dom/blocks/html.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5155621f0f907e17a35e68fe6721ac8797be598574dadedd7030fa606fd80106"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.validate_assignment (cognitive 35): utils.validate_assignment has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (23 pts), boolean chains 7, loops 1 (3 pts), ternaries 1 (2 pts) (nesting depth added 17). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6690cad11f0ab031188a13579913619c48257d381a17a7ff7dd6b51efb03d85c"}},{"ruleId":"D2","level":"warning","message":{"text":"fragment.process_children (cognitive 35): fragment.process_children has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 8, ternaries 2 (8 pts), loops 1 (nesting depth added 11). Of this number, 26 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d49d186e4f62c3923706c88b1c3ec8c18d4cbb52f3a93e1476e4f04c7196b4"}},{"ruleId":"D2","level":"warning","message":{"text":"bind_value (cognitive 35): bind_value has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 8, ternaries 4 (6 pts), other 2 (nesting depth added 7). Most of this is not in the body itself: 8 of the 35 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 22, 81). 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":"packages/svelte/src/internal/client/dom/elements/bindings/input.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cbbdf22dfb8a064aaf63755296fcd3e8497f8283edc821d7280a03ec2d40b0"}},{"ruleId":"D2","level":"warning","message":{"text":"to_class (cognitive 35): to_class has cognitive complexity 35 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 6 (12 pts), loops 2 (6 pts), boolean chains 3 (nesting depth added 19). 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf08c6bc0ee1b822ae8888bfbb96244aa75c19f065f603297372d1b0a841ea8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitExpression.is_last_evaluated_expression (cognitive 34): AwaitExpression.is_last_evaluated_expression has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (31 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 21). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d1bda96546bbd7d9139272b3cddc5221c0119708db6d58603a659e2b02a669"}},{"ruleId":"D2","level":"warning","message":{"text":"_mount (cognitive 33): _mount has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (24 pts), loops 4 (6 pts), boolean chains 2, other 1 (nesting depth added 13). None of this is in the body itself: all 33 points belong to 5 function items inside it that branch ((anonymous)::event_handle, a function literal at line 260, a function literal at line 180, \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":"packages/svelte/src/internal/client/render.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d619c104e30ee85828320d133e351687a262712de0127d35bbe547a93a453d1"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-report.generate_report (cognitive 32): generate-report.generate_report has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 6 (10 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 5 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":"benchmarking/compare/generate-report.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e5e5710521152ba92afdb29801ac9aa4f03ee9abe5cd5c16a2ab09dad4006b"}},{"ruleId":"D2","level":"warning","message":{"text":"SvelteComponent (cognitive 32): SvelteComponent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (8 pts), boolean chains 3 (nesting depth added 18). 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c18179b6e312c61ac4a326c054f31fe9b3a71bccf8de88b2446ef0376698f"}},{"ruleId":"D2","level":"warning","message":{"text":"build_attribute_value (cognitive 32): build_attribute_value has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 7 (11 pts), boolean chains 2, loops 2, 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"534b3c6a4c85dd4e3988f4f4c93f771db9c631a6683e29f87f54be96bc6bb118"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassBody (cognitive 31): ClassBody has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 6, ternaries 1 (3 pts), loops 2, other 2 (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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4215dc8f05f5ebe863fd3e0fe9669ed727bb26be563c572ff542a41f1c505d4"}},{"ruleId":"D2","level":"warning","message":{"text":"acorn.get_comment_handlers.add_comments (cognitive 30): acorn.get_comment_handlers.add_comments has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 11, loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/1-parse/acorn.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb410ff1424a2b3de75a8cdd872fc1655c7659ca5cd57a7808e52f4c23e28b6"}},{"ruleId":"D2","level":"warning","message":{"text":"apply_combinator (cognitive 30): apply_combinator has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, loops 2 (4 pts), ternaries 3 (4 pts), match/switch 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cff033357ea3468c4ce30eca74da9c12e78f19d542bec774df89dc870f44caa"}},{"ruleId":"D2","level":"warning","message":{"text":"create_effect (cognitive 30): create_effect has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (2 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f00ca6e48d842393551c1f3401e7b34762d070c1080c03502432b6e13b7f972"}},{"ruleId":"D2","level":"warning","message":{"text":"Fragment (cognitive 30): Fragment has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 10, ternaries 1 (2 pts), loops 1, other 1 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 2 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, 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17128f2b43852dcec3120e7ac26881de31d68928fb87117f04b5d9cb0a932cd"}},{"ruleId":"D2","level":"warning","message":{"text":"index.extract_type_and_comment (cognitive 29): index.extract_type_and_comment has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 6 (10 pts), boolean chains 4, loops 1 (2 pts) (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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d2d8b5261dcd033cdec7d584e51c0c459daaaa6a06a4bde080d412cf94c980"}},{"ruleId":"D2","level":"warning","message":{"text":"animate (cognitive 29): animate has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 1 (3 pts), boolean chains 2, other 2, ternaries 1 (2 pts) (nesting depth added 11). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 13 function items inside it that branch ((anonymous)::onfinish, a function literal at line 393, a function literal at line 349, \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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f81674d68ddf84474b70580a4a54ab7e80476dbfdf61086cf06aa2eefa600d"}},{"ruleId":"D2","level":"warning","message":{"text":"infer_namespace (cognitive 29): infer_namespace has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 3 (8 pts), boolean chains 6, loops 1, other 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"919e37c5ba731ac17678cb9cbc4e01dbeed11779d0beffb5c6592bff778abe69"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy::set (cognitive 29): proxy::set has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 4, loops 1 (2 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0fae56c5542a5f78020c4a66ece2d7495af20f25dddaccfd31f2da959307c7"}},{"ruleId":"D2","level":"warning","message":{"text":"nodes.is_customizable_select_element (cognitive 28): nodes.is_customizable_select_element has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 4, loops 1 (2 pts) (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":"packages/svelte/src/compiler/phases/nodes.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a5e10c36d3fb5e91aa0899ce58699fdd72690cf95b2522e29209bffde999d8"}},{"ruleId":"D2","level":"warning","message":{"text":"update_reaction (cognitive 28): update_reaction has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 3 (8 pts), boolean chains 4, error handling 1, ternaries 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9947600ee0c08edcb4d4eff2a925f6f4b20e1b97bea9d9e0263590f4a6154aa"}},{"ruleId":"D2","level":"warning","message":{"text":"extract_svelte_ignore (cognitive 28): extract_svelte_ignore has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts), other 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":"packages/svelte/src/compiler/utils/extract_svelte_ignore.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b75dae087a7106630c03a966ee39200556d55f4de2ead1d68f575b129a81c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"transitions.transition (cognitive 27): transitions.transition has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (7 pts), boolean chains 4, ternaries 2 (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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10323cf805f4191bb6f29969465d756e5b5bdc95a789f220bfc57d8f3dda309"}},{"ruleId":"D2","level":"warning","message":{"text":"EachBlock.EachBlock (cognitive 27): EachBlock.EachBlock has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 7, loops 2 (5 pts) (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/EachBlock.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680b96042e51b8049c36c31d8a5a80626978ccce68d22a3a1e4f1a2b4341ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.sort_const_tags (cognitive 27): utils.sort_const_tags has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 6 (9 pts) (nesting depth added 12). Of this number, 23 points are the body\u0027s own statements and 4 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d004bb3af2712bf23cc21da258ddfec2a81b2e96592106e565648393543e957"}},{"ruleId":"D2","level":"warning","message":{"text":"index.migrate_css (cognitive 27): index.migrate_css has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), boolean chains 3, loops 1 (nesting depth added 15). 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"451b8634d521bc1110035bc4e4e3dacbb25603ab8fc73324041cbe927f23f29c"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportDeclaration (cognitive 27): ImportDeclaration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (7 pts), ternaries 1 (5 pts), boolean chains 2, other 1 (nesting depth added 16). 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218c9887d12743a38ad571e9f6c0514b3141dc114f1422169f97ce56a5eec80"}},{"ruleId":"D2","level":"warning","message":{"text":"svelte_visitors::AwaitBlock (cognitive 27): svelte_visitors::AwaitBlock has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 4 (10 pts), ternaries 2 (4 pts), boolean chains 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"688decee94b9838e66b0254a67c00d1128afb506c5e3edf207112e888ce73f71"}},{"ruleId":"D2","level":"warning","message":{"text":"Declaration (cognitive 27): Declaration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (5 pts), boolean chains 3 (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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61f9cc742795eecba15d0d5cb1f2390e5ceb279bed9a42b4787246ed6160805"}},{"ruleId":"D2","level":"warning","message":{"text":"get_comment_handlers.add_comments::_ (cognitive 27): get_comment_handlers.add_comments::_ has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 10, loops 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/1-parse/acorn.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecb606d74e525a093108df38665c2cd85b0ce901e0263955e7ace8907ee282c"}},{"ruleId":"D2","level":"warning","message":{"text":"SvelteBoundary (cognitive 27): SvelteBoundary has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (11 pts), ternaries 2 (4 pts), other 1 (nesting depth added 5). Of this number, 22 points are the body\u0027s own statements and 5 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/SvelteBoundary.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7837e501cbc22acad43b345fd0c03b7a5e988d95942476ad28b0a21eb470e0b0"}},{"ruleId":"D2","level":"warning","message":{"text":"build_assignment (cognitive 27): build_assignment has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 8, ternaries 1 (4 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bbc1ff8b81a5451e9c4035761bf4a02e55bf3506d2f281b75681834851ec2c"}},{"ruleId":"D2","level":"warning","message":{"text":"await.await_block (cognitive 26): await.await_block has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 4, ternaries 2 (nesting depth added 7). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 53, 76, 113, \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":"packages/svelte/src/internal/client/dom/blocks/await.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc9f08a91c76af6ddf4a108dd5348439a546387da5e4f1862f757a6a9157bc7"}},{"ruleId":"D2","level":"warning","message":{"text":"browser-support.detector.walk_source::visit (cognitive 26): browser-support.detector.walk_source::visit has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"658eebc6b65f64017d9f8a250c9341d31a8023b2f0028cb0c0b87e6d8fed4799"}},{"ruleId":"D2","level":"warning","message":{"text":"deep_read (cognitive 26): deep_read has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (9 pts), error handling 2 (8 pts), loops 2 (5 pts), boolean chains 4 (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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c727383c331f3a84b3f272ac7f4434c73f0cc8b7d119ece4356e3e4ed74fed"}},{"ruleId":"D2","level":"warning","message":{"text":"build_bind_this (cognitive 26): build_bind_this has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 7, other 5, boolean chains 3, loops 2 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 12 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0354c61ce690f6942cd59fa3959d949a09ce6f53fe9db6b32efcb9fb113a9b33"}},{"ruleId":"D2","level":"warning","message":{"text":"IfBlock (cognitive 26): IfBlock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 3 (5 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bef5ab5e0f25acee2311120374a02ffe9924410c839f908b3b4fe23bbc0869"}},{"ruleId":"D2","level":"warning","message":{"text":"SnippetBlock (cognitive 26): SnippetBlock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 pts), loops 3 (5 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SnippetBlock.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdc8033c9b925357eb1c27eebca6d26e7dd9dad2a71b17ae3486c8600fad55e"}},{"ruleId":"D2","level":"warning","message":{"text":"Attribute (cognitive 26): Attribute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 6, loops 1 (2 pts) (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Attribute.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1b5c27a3baca39320333e91bd63af51f2cab9c151703704f8770518d4a558c"}},{"ruleId":"D2","level":"warning","message":{"text":"Batch.#traverse (cognitive 25): Batch.#traverse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 2 (3 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da82f399a12c1df2948b351375de0e72bb2a9d93061a1db59052e845fedd375"}},{"ruleId":"D2","level":"warning","message":{"text":"SlotElement.SlotElement (cognitive 25): SlotElement.SlotElement has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 4 (7 pts), boolean chains 2, loops 1 (nesting depth added 9). Of this number, 21 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"142eb818cddd59978cc797c2bda35d5197aa1dbe4e3de76b2c07698a3a86dd62"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_aria_attribute_value (cognitive 25): validate_aria_attribute_value has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 4, other 2, 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4aa3b87ebd87469bd80a7799aa9af70ea0d3b154f8aa7a5d4ac966aa5ae29e"}},{"ruleId":"D2","level":"warning","message":{"text":"process_children (cognitive 25): process_children has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 3, loops 3, ternaries 1 (3 pts), other 1 (nesting depth added 8). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to one function item inside it that branches (flush). 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89fe88fccec449da51ca75110e3e3c46eb87eb083166507f3e34a8af7d697f2"}},{"ruleId":"D2","level":"warning","message":{"text":"visit_assignment_expression (cognitive 25): visit_assignment_expression has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (5 pts), boolean chains 4, loops 1 (2 pts), other 1 (nesting depth added 10). Of this number, 22 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":"packages/svelte/src/compiler/phases/3-transform/shared/assignments.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9455c059fef3d0fa7660e94c7c3fed606b2f5336a7cf46f42ad669addf8d1bf"}},{"ruleId":"D2","level":"warning","message":{"text":"bracket.find_matching_bracket (cognitive 24): bracket.find_matching_bracket has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 1 (2 pts), boolean chains 1, loops 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":"packages/svelte/src/compiler/phases/1-parse/utils/bracket.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b01c0e181b075f8ddd007158c11b6bb52c051c6f6d1f998d4de2d67d14002f"}},{"ruleId":"D2","level":"warning","message":{"text":"sources.mark_reactions (cognitive 24): sources.mark_reactions has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14a06631eb52054ec870f8a2e98c06fcae3abc3b1401df75bab58174aa4f335"}},{"ruleId":"D2","level":"warning","message":{"text":"template.fragment_from_tree (cognitive 24): template.fragment_from_tree has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 3 (6 pts), loops 2 (3 pts), boolean chains 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":"packages/svelte/src/internal/client/dom/template.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eb97663571b3004ba5d24bb2d6c38795a9e2feb517b4f4f935135498d57cda"}},{"ruleId":"D2","level":"warning","message":{"text":"BranchManager.#commit (cognitive 24): BranchManager.#commit has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, loops 2 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 3 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":"packages/svelte/src/internal/client/dom/blocks/branches.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a0aef614bb8e3b79d2a90c0d86a9729a2d375e9cf2cafe62fa51a9ac2fca58"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.validate_no_const_assignment (cognitive 24): utils.validate_no_const_assignment has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd68827df97cec2cbe69c3cb53203ed6cf20d8f65f55e62c17f8d02017aca85b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.is_semantic_role_element (cognitive 24): index.is_semantic_role_element has cognitive complexity 24 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (9 pts), boolean chains 3 (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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"594c5572150fc981c89a0a7231fd186971d1969eaa1a9d89c41af1a2cb2af9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"index.has_content (cognitive 24): index.has_content has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 4, 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"033e7e23105de7de12b6665a569ce1a5e0c55216fa0cb8c2042a30dc3e9c7f31"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.validate_mutation (cognitive 24): utils.validate_mutation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (8 pts), boolean chains 4, 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0319221750e9d6b2183a1e3fad335abda83f22f812c6ec2ce1938452e9ee5bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"is_expression_async (cognitive 24): is_expression_async has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (10 pts), ternaries 1 (2 pts), match/switch 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"32808481be866b9b1a46ecf17e893816ef53637fbb06cc5fb6c17e55cd0afb54"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 24): (anonymous) has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2, loops 2 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 3 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":"packages/svelte/src/internal/client/dom/blocks/branches.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7153148535bd8d5fa68c4168b21c0b76b4e81cbb94df07baeb34af07af0756ec"}},{"ruleId":"D2","level":"warning","message":{"text":"SnippetBlock (cognitive 24): SnippetBlock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 9, loops 1 (nesting depth added 4). Of this number, 19 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53ad9594f7afacc407b5cf8a7c7579eafb8f5556206f1fe7d9ad2fd633fd583"}},{"ruleId":"D2","level":"warning","message":{"text":"SvelteElement (cognitive 24): SvelteElement has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (8 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteElement.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fe15d158d96e38c3f4e59c8b77924346815a598c1e5d53cc832202a2899398"}},{"ruleId":"D2","level":"warning","message":{"text":"css-prune.get_descendant_elements (cognitive 23): css-prune.get_descendant_elements has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, loops 1 (2 pts), ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 11 of the 23 points are its own statements and the rest belongs to 2 function items inside it that branch (walk_children, a function literal at line 947). 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"2546a6dc5d01e188f281d19c43a5ebb949eb214f20f6dccbbfe89eaf07a32bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"index.run (cognitive 23): index.run has cognitive complexity 23 (threshold 15). Drivers by points: if/else 25 (63 pts), loops 10 (22 pts), ternaries 2 (6 pts), boolean chains 4 (nesting depth added 54). 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.run::transform) 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":"packages/svelte/scripts/process-messages/index.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b36301f059d8942ace2d86c7aff574f2d03519504df555625d3dc09f2eb5b6"}},{"ruleId":"D2","level":"warning","message":{"text":"order_reactive_statements (cognitive 23): order_reactive_statements has cognitive complexity 23 (threshold 15). Drivers by points: loops 8 (13 pts), if/else 4 (8 pts), other 2 (nesting depth added 9). Of this number, 16 points are the body\u0027s own statements and 7 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3174ca2286e4a03cb04c83ee650f377b23a3041725fcf709c3221f8f6a1c7c"}},{"ruleId":"D2","level":"warning","message":{"text":"get_custom_element_value (cognitive 23): get_custom_element_value has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (13 pts), match/switch 2 (4 pts), boolean chains 3, if/else 3 (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":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c30288858ef90b195afd128a7e376a266032fcecbc1f7c538cbb500c75f888"}},{"ruleId":"D2","level":"warning","message":{"text":"style.read_value (cognitive 22): style.read_value has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"528cf2dd0c376bc7d03de219f3ce0eef8b62aca256ba0c3dda310e9c7f278a81"}},{"ruleId":"D2","level":"warning","message":{"text":"CallExpression.CallExpression (cognitive 22): CallExpression.CallExpression has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), boolean chains 5 (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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dc7352f24d33794645a22f85a527f7ede86d707fcc716ab05eadbba643e188"}},{"ruleId":"D2","level":"warning","message":{"text":"#merge (cognitive 22): #merge has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4, boolean chains 3, error handling 1 (3 pts) (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 11 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"395a35e3289e548c0db92d56e17e18df24d7589731d37c6a4efa28154900c191"}},{"ruleId":"D2","level":"warning","message":{"text":"convert::AwaitBlock (cognitive 22): convert::AwaitBlock has cognitive complexity 22 (threshold 15). Drivers by points: other 11, error handling 5 (8 pts), if/else 3 (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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00075cced1ae5a596200907446f6aa9c6d286ab4d21bbae6662678666d887c6"}},{"ruleId":"D2","level":"warning","message":{"text":"is_pure (cognitive 22): is_pure has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 1 (4 pts), loops 2 (3 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320c2fd0af432a855dbfabe990bdc686a3e9d32ae0d2c0b948825667b287a31"}},{"ruleId":"D2","level":"warning","message":{"text":"ensure (cognitive 22): ensure has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (4 pts), boolean chains 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":"packages/svelte/src/internal/client/dom/blocks/branches.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1475cf5feed76ad31d7cd355e7a76927bbbc58f80db1a30f3e5eff7bd5a8b5d7"}},{"ruleId":"D2","level":"warning","message":{"text":"get_prop_source (cognitive 22): get_prop_source has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, 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":"packages/svelte/src/compiler/phases/3-transform/client/utils.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"84934961299fd6e4269f13ec9e2bedce0cf0e50b029fa6dde734398efefd7965"}},{"ruleId":"D2","level":"warning","message":{"text":"log_entry (cognitive 22): log_entry has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), loops 3 (6 pts), boolean chains 4, ternaries 4 (nesting depth added 5). 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":"packages/svelte/src/internal/client/dev/tracing.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"940a088123615b8ad3bb2b231b7cdc339854dafa8446a95d8a88857b02a734e5"}},{"ruleId":"D2","level":"warning","message":{"text":"init_array_prototype_warnings (cognitive 22): init_array_prototype_warnings has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3 (6 pts), other 3 (nesting depth added 9). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 4 function items inside it that branch (lastIndexOf, indexOf, includes, \u2026). 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":"packages/svelte/src/internal/client/dev/equality.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1479985c0e6954feffee99fe24266a6c84f959bf49d7f6f57cf8a6a5d0b81efd"}},{"ruleId":"D2","level":"warning","message":{"text":"script.read_script (cognitive 21): script.read_script has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (19 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":"packages/svelte/src/compiler/phases/1-parse/read/script.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"926bcce8af26706189075e83e48043d4c3536a389602ca95c43be91dcb85d3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"fragment.is_static_element (cognitive 21): fragment.is_static_element has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (17 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffb70be1b3feade26fedba46b92c2361f8eee65efbefa4a9e7f7e440140fd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"element.build_attribute_effect (cognitive 21): element.build_attribute_effect has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 1 (4 pts), 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8a96aeda0a5638f12078813a581b3f2c3c434417b90363cd84fd477268fcdc"}},{"ruleId":"D2","level":"warning","message":{"text":"index.attributes (cognitive 21): index.attributes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 159). 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"366de08a661291e38a376b06016adfa6ef60c1a3c34470f8dc128da5ba4542db"}},{"ruleId":"D2","level":"warning","message":{"text":"special (cognitive 21): special has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 7). Of this number, 18 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22ab3741559900ec687f2007b45569d7237fe6f8a2772277b0a3835ce0d29c9"}},{"ruleId":"D2","level":"warning","message":{"text":"html-tree-validation.is_tag_valid_with_parent (cognitive 20): html-tree-validation.is_tag_valid_with_parent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, ternaries 2, match/switch 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":"packages/svelte/src/html-tree-validation.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1634fa4ddbcfa1e246e10c4c848872e74a39d74d18fc1af7a2b8276984f9a78"}},{"ruleId":"D2","level":"warning","message":{"text":"attributes.attribute_effect (cognitive 20): attributes.attribute_effect has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (nesting depth added 7). None of this is in the body itself: all 20 points belong to 3 function literals inside it that branch (lines 540, 530, 585). 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28a55d6ce1e874fedfcf1bb2e981c3766b3d08d7f47290436cd548cc9a4db4d"}},{"ruleId":"D2","level":"warning","message":{"text":"Text.Text (cognitive 20): Text.Text has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (4 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Text.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e073644ede646b81b7ac615dcee46b1ff21a1588fd7c58642cf9b0ccc4a40a98"}},{"ruleId":"D2","level":"warning","message":{"text":"element.build_set_class (cognitive 20): element.build_set_class has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, ternaries 2 (nesting depth added 2). 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: 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5af7349b4408862a819da5379e856b7656677bb38cd38aafeeef0f359847283"}},{"ruleId":"D2","level":"warning","message":{"text":"create_scopes::AwaitBlock (cognitive 20): create_scopes::AwaitBlock has cognitive complexity 20 (threshold 15). Drivers by points: error handling 3 (7 pts), if/else 5 (7 pts), loops 2 (6 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1a0c28717280465568a701fc8acf9e31c1d419de261b0eb4f196b7af41fd5e"}},{"ruleId":"D2","level":"warning","message":{"text":"loop_child (cognitive 20): loop_child has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), ternaries 2 (3 pts), boolean chains 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5822f7db09e8e89e6eacede5e2604cd0f48cd28ecc8bfe5d2728fe9f1f42e924"}},{"ruleId":"D2","level":"warning","message":{"text":"element.read_attribute_value (cognitive 19): element.read_attribute_value has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 2 (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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7df43aacfd6791db0dccb0e9c0e0df2fc2806547d460ff3f5d06c3b28dae8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"debug.log_effect_tree (cognitive 19): debug.log_effect_tree has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 3 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf2be552f110f528bbe0f822a967d64a6eb93261103995d6a944d1d72fca33f"}},{"ruleId":"D2","level":"warning","message":{"text":"ImportDeclaration.ImportDeclaration (cognitive 19): ImportDeclaration.ImportDeclaration has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 11). 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ImportDeclaration.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"114bfd1613ece062455c8a8e82fc61845d8cd79c7999ea28848d7f2a97522139"}},{"ruleId":"D2","level":"warning","message":{"text":"apply (cognitive 19): apply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"704956efc36244d1d0e6b5e8792d97af2b6c7b4ed038d9d627b6c5e2fbb9bfa4"}},{"ruleId":"D2","level":"warning","message":{"text":"infinite_loop_guard (cognitive 19): infinite_loop_guard has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), error handling 1, other 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb59020389f8dde88437b5cbf5c407739f8034ca4d832828c3dbdda989633cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"boundary (cognitive 19): boundary has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 3 (6 pts), 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":"packages/svelte/src/internal/server/renderer.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8a3ee89168abcd12e7ed33dc69a4fc3e4d4001e564ce2e0b542052186e55fb"}},{"ruleId":"D2","level":"warning","message":{"text":"update_dependencies (cognitive 19): update_dependencies has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 2 (6 pts), boolean chains 4 (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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb804c6fa8f0e7215411b9855e686c2c0a6d0d3e82cdb94ea8c1dd12f892e4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Rule (cognitive 19): Rule has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3 (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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b81f11d6db5bba546374c49607f8787b8928a24fa729935546fa2da0815e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitBlock (cognitive 19): AwaitBlock has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 2 (4 pts), boolean chains 3, other 2, ternaries 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, 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c81c6ed428c8dfd79eb7f894085d183a596fc1d1a5a1d029c246b489ad1441"}},{"ruleId":"D2","level":"warning","message":{"text":"read_profile (cognitive 19): read_profile has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (6 pts), boolean chains 4, if/else 2 (4 pts), other 3, loops 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":"benchmarking/compare/profile-diff.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b3da950fe0874b3205fd9cc24c9379c42911d1b287cffdbb420608ee61ef02"}},{"ruleId":"D2","level":"warning","message":{"text":"html-tree-validation.is_tag_valid_with_ancestor (cognitive 18): html-tree-validation.is_tag_valid_with_ancestor has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), boolean chains 2, loops 1 (2 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":"packages/svelte/src/html-tree-validation.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1834a16b19e810517d457ff68a476826e34ce4b25cdc4cd72f4861cc940aa46a"}},{"ruleId":"D2","level":"warning","message":{"text":"class.set_class (cognitive 18): class.set_class has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, loops 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":"packages/svelte/src/internal/client/dom/elements/class.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18dbec595a89326b03df6a570336c9c4a891b8ceba2b0d90f13518793e4bf41"}},{"ruleId":"D2","level":"warning","message":{"text":"input.bind_group (cognitive 18): input.bind_group has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 3). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 168, 206, 154, \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":"packages/svelte/src/internal/client/dom/elements/bindings/input.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5aa6178817f02806e2ab91625ec35771fb3c023d45b9e1e179bf3a51ce5ec9c"}},{"ruleId":"D2","level":"warning","message":{"text":"SlotElement.SlotElement (cognitive 18): SlotElement.SlotElement has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 2, 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SlotElement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"643ea3e7ed6b11be390e233f791b45becfe58390b2935fda86bd738231d66466"}},{"ruleId":"D2","level":"warning","message":{"text":"StyleDirective.StyleDirective (cognitive 18): StyleDirective.StyleDirective has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (2 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/StyleDirective.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2690cbf403212097793596b33dd3697586e7a2e773dbd325775065f6c068df1d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassBody.ClassBody (cognitive 18): ClassBody.ClassBody has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/ClassBody.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad1259329791c00a454832df066096834b7fe4404814067239f5dbcf29959ca"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertyDefinition.PropertyDefinition (cognitive 18): PropertyDefinition.PropertyDefinition has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 3 (5 pts), boolean chains 3 (nesting depth added 9). 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/PropertyDefinition.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b8b71bcaeedd75ced80a919f072b3715bee546a1997f230300209621a47c53"}},{"ruleId":"D2","level":"warning","message":{"text":"template.objectify (cognitive 18): template.objectify has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), boolean chains 2, 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-template/template.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d312c9c8bdfb58082c3c4a94c04526ee2fe55321a8970fc766da5d2bf9ae41"}},{"ruleId":"D2","level":"warning","message":{"text":"index.transform_template (cognitive 18): index.transform_template has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4, boolean chains 2 (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":"packages/svelte/src/compiler/phases/3-transform/client/transform-template/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"123f69489069ab066057c68b2b23837140d89b803ab8213d883f54bfaa9ab044"}},{"ruleId":"D2","level":"warning","message":{"text":"_ (cognitive 18): _ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (5 pts), boolean chains 2, 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"664edee6cd39671ad5ac92629ef470b7ec3c64b6e4f16710aed8ca2193c687de"}},{"ruleId":"D2","level":"warning","message":{"text":"set_attribute (cognitive 18): set_attribute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, other 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"6650dd0598cc8690595d81383208d493c96a182ec26b1f85de56871347c649f7"}},{"ruleId":"D2","level":"warning","message":{"text":"read_declaration (cognitive 18): read_declaration has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 2, other 2, ternaries 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3e6b04e23cc1cc8bda02f9d95e84bc1f75eb53649c1c61e4e3c5bc39c45e14"}},{"ruleId":"D2","level":"warning","message":{"text":"object (cognitive 18): object has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 2 (6 pts), boolean chains 3, loops 2 (nesting depth added 7). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 235). 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":"packages/svelte/src/compiler/validate-options.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242c16f5e19b0559073dcb1a315f714556159f953f7b471ef0c3dc0e5bdfafc"}},{"ruleId":"D2","level":"warning","message":{"text":"bracket.match_bracket (cognitive 17): bracket.match_bracket has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, 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":"packages/svelte/src/compiler/phases/1-parse/utils/bracket.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"926652b839e71459b6c9fa348a5f3083472243674d1214066412836072e50970"}},{"ruleId":"D2","level":"warning","message":{"text":"deriveds.update_derived (cognitive 17): deriveds.update_derived has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 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":"packages/svelte/src/internal/client/reactivity/deriveds.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1b557bb1b83f3494d2c5dea29b67cc363e25fd67a18b2aab5192abb397bf7b"}},{"ruleId":"D2","level":"warning","message":{"text":"effects.pause_children (cognitive 17): effects.pause_children has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (3 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"e101f010aa5432816c98de314fd55f86d1a73cbe31232f3b9e6ca3e235e9ee60"}},{"ruleId":"D2","level":"warning","message":{"text":"results.template.html.benchmark_order (cognitive 17): results.template.html.benchmark_order has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 4, boolean chains 3 (nesting depth added 4). None of this is in the body itself: all 17 points belong to one function literal inside it that branches (line 644). 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":"benchmarking/compare/results.template.html"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eddc9a5486c32c7cd41135f1759b09211e19a709a7a227a5947e280dd490a50"}},{"ruleId":"D2","level":"warning","message":{"text":"css-prune.is_global (cognitive 17): css-prune.is_global has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e7fb38890ad479d4e99963c1068c1526c481011c62d18650db7b8112a5d4b4"}},{"ruleId":"D2","level":"warning","message":{"text":"SnippetBlock.can_hoist_snippet (cognitive 17): SnippetBlock.can_hoist_snippet has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a3bf71bacdb3f051dfa95e5b6a69ec4eb3b6886608294b0f7ce6e2894b7db8"}},{"ruleId":"D2","level":"warning","message":{"text":"index.is_empty (cognitive 17): index.is_empty has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9452107c25e8995138b180eef478f4caa065895109269750e1c4c94d288bc511"}},{"ruleId":"D2","level":"warning","message":{"text":"element.build_attr_style (cognitive 17): element.build_attr_style has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b82fac9343af6dc72c2ab3a191a785a2b57bddea9d5fd02b58f15c8899bed7"}},{"ruleId":"D2","level":"warning","message":{"text":"decode_sourcemap.decoded_sourcemap_from_generator (cognitive 17): decode_sourcemap.decoded_sourcemap_from_generator has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 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":"packages/svelte/src/compiler/preprocess/decode_sourcemap.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"045da8241b15ccdde0609020048dca8da62cfacf0404ad26e9f96effbdf91f49"}},{"ruleId":"D2","level":"warning","message":{"text":"pause_effects (cognitive 17): pause_effects has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1 (nesting depth added 7). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 80). 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63f0c762053d7725352008a30a3b6bb4ea70629ae8dd626f1f08ee3f738cfc4"}},{"ruleId":"D2","level":"warning","message":{"text":"#handle_error (cognitive 17): #handle_error has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 5, error handling 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 551, handle_error_result, a function literal at line 527, \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":"packages/svelte/src/internal/client/dom/blocks/boundary.js"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9db5f3d3926851c64f26c520cd4c42357bf573a0dee163747353c7f1165f89"}},{"ruleId":"D2","level":"warning","message":{"text":"apply_default_select_value (cognitive 17): apply_default_select_value has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (4 pts), loops 2 (3 pts), boolean chains 2, other 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":"packages/svelte/src/internal/client/dom/elements/bindings/select.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90008c9265529feffea6d729cf9de06e5304722e4969d5d9401934e0187a639"}},{"ruleId":"D2","level":"warning","message":{"text":"CallExpression (cognitive 17): CallExpression has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), ternaries 2 (4 pts), match/switch 1 (nesting depth added 5). Of this number, 16 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d32b253cc0d7b29555f523ac243f601d6b24f73b478150b29da10054f093259"}},{"ruleId":"D2","level":"warning","message":{"text":"debug.log_inconsistent_branches::log_branch (cognitive 16): debug.log_inconsistent_branches::log_branch has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5, loops 2 (4 pts), ternaries 3 (4 pts), boolean chains 3 (nesting depth added 3). 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb0a316d2ad69e6f6f9e01d50e69b3736602f45fee489350bbc3f12daaef3e7"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.remove_reaction (cognitive 16): runtime.remove_reaction has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec07e86b1eca4e75500c0a418d2aefc39a372a2ecb90bb4d57ab5d6019ebf68"}},{"ruleId":"D2","level":"warning","message":{"text":"FuzzySet.__get (cognitive 16): FuzzySet.__get has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 5 (7 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":"packages/svelte/src/compiler/utils/fuzzymatch.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f370848a202f6b26d85d6e30b7ba0321999cc93fa990d471de6e961ccde53c7"}},{"ruleId":"D2","level":"warning","message":{"text":"AwaitBlock.AwaitBlock (cognitive 16): AwaitBlock.AwaitBlock has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9360bd645a3dd8dc74e02448260828944f8b699388d00a48cdf6d966031b82"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.build_template (cognitive 16): utils.build_template has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (15 pts), 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1313747986caa126e2f18eb12bcf8aa3eb0a445521591844d002b8c44366daa"}},{"ruleId":"D2","level":"warning","message":{"text":"RenderTag.RenderTag (cognitive 16): RenderTag.RenderTag has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RenderTag.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db28dfa998f96b6ddacb3af73b284019a7143d85b8455db2a0de3b33437a3df"}},{"ruleId":"D2","level":"warning","message":{"text":"validate-options.object.\u003Creturned closure\u003E (cognitive 16): validate-options.object.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 1 (4 pts), boolean chains 3, 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":"packages/svelte/src/compiler/validate-options.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4377c764c1125211ff58fe893b96f5d5972296f058cf3b3455a5c979ed29c"}},{"ruleId":"D2","level":"warning","message":{"text":"generate-browser-support.versions_from_features (cognitive 16): generate-browser-support.versions_from_features has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 2 (3 pts), boolean chains 1, ternaries 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":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f914215f0cb83c751d92897b08d65446d429d8e53b1e966f9f7e033f850808ce"}},{"ruleId":"D2","level":"warning","message":{"text":"read_identifier (cognitive 16): read_identifier has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 1 (4 pts), boolean chains 1, 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"7194e1de2ff6a73d22602ab2a5840a682f1388d89df5ae15223392a259e68409"}},{"ruleId":"D2","level":"warning","message":{"text":"#init (cognitive 16): #init has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 1, loops 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 75, 92, 113). 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":"packages/svelte/src/reactivity/date.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a62268105415dac176b1ff72eacad52c6bf81b6b7afa4cfadda588ab4cbec5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: legacy.convert: FunctionTooLong \u2014 convert runs 406 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 306 over it, 4.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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9d16d620d914f6898c515f000b57df764b52a54f540391d142d584c330a84d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.analyze_component: FunctionTooLong \u2014 analyze_component runs 386 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 286 over it, 3.86\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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"85db849251ad706502bb840cccb1b6475a282d9609495d2674f90c90f98a28a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.svelte_visitors: FunctionTooLong \u2014 svelte_visitors runs 384 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf5815ea9350b2c4708a48e2839b0e8d8b05d6fa2633009cf442e20b93aadef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.check_element: FunctionTooLong \u2014 check_element runs 324 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 224 over it, 3.24\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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d8e59f8eab76b00a96227f6e20c85d2261a308131cd8d1af251aba940d9809"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transform-client.client_component: FunctionTooLong \u2014 client_component runs 321 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 221 over it, 3.21\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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f23996586a766016e28e502ceeec1c0208c0be13789418ba0ae6684ba7aaa67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegularElement.RegularElement: FunctionTooLong \u2014 RegularElement runs 311 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 211 over it, 3.11\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebf8e0ff399b4effebd07f05234772dc09f06d49808cfa6c00201beef7ba0e9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: component.build_component: FunctionTooLong \u2014 build_component runs 290 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 190 over it, 2.90\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c216f9b922e430526837c952daec8063b159c4a93ec4a8022f8fea83d256ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: scope.create_scopes: FunctionTooLong \u2014 create_scopes runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d460ce723c8bab364f891d81199aa1ced5d534a6047f7edf39536d82ad8674f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: migrate/index.js: FileTooLong \u2014 1266 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 766 over it, 2.53\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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f527439d5f83defe94fdf5ba4e20a6b7711e027c22cefe89acc0707d67f132"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.migrate: FunctionTooLong \u2014 migrate runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e3f859edb1f0a80a2fbf04842be960a4d839012044b64b8b0e233a2e828aaf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Evaluation.constructor: MethodTooLong \u2014 constructor runs 222 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 122 over it, 2.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9a622ff0210b4a11d16a24d2ea9d6244be8437c97e0da38a660fd3c65f68c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VariableDeclaration.VariableDeclaration: FunctionTooLong \u2014 VariableDeclaration runs 215 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 115 over it, 2.15\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aba4ae964ea0998c1756dc4a75420c15f5d91143372f5497894045bc800c92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BindDirective.BindDirective: FunctionTooLong \u2014 BindDirective runs 192 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 92 over it, 1.92\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/BindDirective.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3050b5623f9d72cfa2ea700e49f418209c82df96beb89ce7d3b2ba17b2698ccc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transform-server.server_component: FunctionTooLong \u2014 server_component runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\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":"packages/svelte/src/compiler/phases/3-transform/server/transform-server.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"86979b53305fb2bf80927c09351213301eff196a30774f2f2fa6dcc467191a1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EachBlock.EachBlock: FunctionTooLong \u2014 EachBlock runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f2307d9aeda6004648903c8a7958731d3478f969f0d5d95dc5d11c89f38459"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: component.build_inline_component: FunctionTooLong \u2014 build_inline_component runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3e2709782ca6f0adadb644b3c7041faa40460b52509814eb971c1b84adfbc5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: proxy.proxy: FunctionTooLong \u2014 proxy runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f523e26874108cdbe0a24fb59b37f0ac30c58e47c91e471f6d915d7efb606b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: element.build_element_attributes: FunctionTooLong \u2014 build_element_attributes runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4cc6f37ea6e09fb602d2905568c102241277d77f352304fa731f51c857a78c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.calculate_blockers: FunctionTooLong \u2014 calculate_blockers runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f41eb042cfcc5ab31f2b3cc9b3573e32582aee03bd57b3f971800755199dfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: 2-analyze/index.js: FileTooLong \u2014 834 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 334 over it, 1.67\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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f8eced8ca053176b7b689bf7be2045614ff94b4434bc2f3820a2ed0ff7787b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phases/scope.js: FileTooLong \u2014 819 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 319 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b75ce7f8a18b277480584007f3672feee30d81576c3ba89470e54eaf6d6f299"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BindDirective.BindDirective: FunctionTooLong \u2014 BindDirective 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b9a43f45cd30031e79fb7141035889ac862eed905f5bdf8331ba6fee95d0b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.css_visitors: FunctionTooLong \u2014 css_visitors runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dde0dca5463f97becb68e149af9c1f57069da3d6bc76cdabc89f273aeefb30"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: style.read_selector: FunctionTooLong \u2014 read_selector runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a749f733753cfb521785209681ed0c799ae823970bde4ba9ca5f91618e487033"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: css-prune.relative_selector_might_apply_to_node: FunctionTooLong \u2014 relative_selector_might_apply_to_node 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d6428d3093819649459d35d060328c6999768da8ee8d6043c1bcbd4c4955c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: css/css-prune.js: FileTooLong \u2014 667 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 167 over it, 1.33\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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ffa44bde774f69f243acf22ae49e2e723e46a8528bf9c66204eed912ce1ac2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: print/index.js: FileTooLong \u2014 666 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 166 over it, 1.33\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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7f3c26d296a56051bf692e8462d2a3cb8f0d3141a522104b830bf797c1d2a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: utils.profile_to_markdown: FunctionTooLong \u2014 profile_to_markdown runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"benchmarking/utils.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddfc1874c8b5337a82635a44a652217f5e6b50087d41ef34fbe07cee9e536bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegularElement.RegularElement: FunctionTooLong \u2014 RegularElement runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce69453afb118e64c9a2c8b1a48184b2c9178c443f9664d9ad008e2612590ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: attributes.set_attributes: FunctionTooLong \u2014 set_attributes 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"daefe16574d7782ff6ce625143aa9cad737ec7710508bcb1053560f103cf1dbc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reactivity/batch.js: FileTooLong \u2014 633 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 60% of them inside a single declaration: Batch (96-980). The bar is 500 significant lines; this is 133 over it, 1.27\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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae59f17d5d60df263c86a0a6daab07076c6b7e6142d4ece05d0a051dae783b9b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: options.read_options: FunctionTooLong \u2014 read_options 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":"packages/svelte/src/compiler/phases/1-parse/read/options.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ed2b49ef4ba155a28104db561469fd565cf58f4c9b865fee97e1de61f1fbb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: element.read_attribute: FunctionTooLong \u2014 read_attribute runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69acb1d9742c3cc398d142771d0df1c4a4eb22b59da8abbd473926f4b6e34c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: each.reconcile: FunctionTooLong \u2014 reconcile runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed2b0e678d7522546f1c3033685320592e236ca9bb78ec465e4489dabd04f3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VariableDeclaration.VariableDeclaration: FunctionTooLong \u2014 VariableDeclaration runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"000de3771252b5cff413d49cbaeaf7b52ce88cc2ad7e4e38c724ca31ac3d9c65"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RegularElement.RegularElement: FunctionTooLong \u2014 RegularElement runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"packages/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb14a053eebd05ea8ffc30b2e39790cf33f98ed814f83b4d843b6b9e9a9a722"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssignmentExpression.build_assignment: FunctionTooLong \u2014 build_assignment runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbde88c2c819d3642e07dd0b0afef6683fab3048721fdc191fd3ba157bf6750"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/element.js: FileTooLong \u2014 592 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 92 over it, 1.18\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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8713b73f3865f43018154c3bd69920b8e30a0e4e61f64ca14d023a44aa043ac3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: a11y/index.js: FileTooLong \u2014 586 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 86 over it, 1.17\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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"730397f116da1bc9f6a5415b68508a03fb4c99111c6b920e54ad80ba3d7a85bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: each.each: FunctionTooLong \u2014 each runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dab3eabfd13fb6d18e0c3dfc1342ad2600cc6a4f93444e0b7f296749ac5692f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: analyze-compiler-profile.analyze_compiler_profiles: FunctionTooLong \u2014 analyze_compiler_profiles runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caa9ae539b4a860d0f9bbdac7d398e32b5c71653b3704765932c054d0a3151e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Identifier.Identifier: FunctionTooLong \u2014 Identifier runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d826afc283d199cbcf3cba7581435f9f66ba24b0f3804a52b96e47559bba517d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: state/tag.js: FileTooLong \u2014 533 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 33 over it, 1.07\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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46609f0da35d5addedb5000bf7385463e4f6aa77ee8a059b1ed20650459a458"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ast._extract_paths: FunctionTooLong \u2014 _extract_paths runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"859d79a7cd15b1a45e8d63291e93221c42457cb915fdf71413f04e1defff3ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.migrate_slot_usage: FunctionTooLong \u2014 migrate_slot_usage runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b0b1dd0ad7ed7e5e270624228aa16deb9f8b962675b0a9947bf2e661d9c850"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/index-server.js: 33.3% line coverage (2/6)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/index-server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf116247432fbb13c361bafcf7b927ddfe522a9e7cfe0651398b638481fc69d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/compiler/phases/3-transform/client/visitors/ExportNamedDeclaration.js: 40.0% line coverage (2/5)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/ExportNamedDeclaration.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a634d555d19dcbc79e8682d687ac320185016c99f6209573c5fd108cc78d2e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/easing/index.js: 6.0% line coverage (3/50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/easing/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"769ce0812eaa2ec2b20de20395de995e09f66db7abe41bf3cdcab557ad1a29b8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/index.js: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3a155b47236b93ebe78acbd919fa5ce10dca6f94bc544422944d06543314c3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/client/dev/debug.js: 0.5% line coverage (1/197)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174b98218c8a725c39167717c2afc63c4d5a4a16a62afc1065b3bf374ebc387"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/client/dev/legacy.js: 37.5% line coverage (3/8)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/legacy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c5c164e25aaab1fe6c3f1f75a575458b0d1207575c0df2a13eb43bcbe90b23"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/client/dom/elements/bindings/media.js: 22.1% line coverage (15/68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/elements/bindings/media.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9544fee7a3d50bf686c3543cede05489bff7f053644c52ea4fc9157e69833b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/client/dom/elements/bindings/navigator.js: 0.0% line coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/elements/bindings/navigator.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc61c8802fe468e24491057f47272c98b53938212c65f7da233c3a90b8f28106"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/internal/client/dom/elements/bindings/size.js: 21.4% line coverage (6/28)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/elements/bindings/size.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb03491c25af45063586a31f31ed6062931d382aad56d61d577060a58cebfc0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/legacy/legacy-server.js: 12.5% line coverage (2/16)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/legacy/legacy-server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce0250d3591a72f165b1f3b3bf0112c4a13098f18ea939f095089fa20f995e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/motion/spring.js: 45.0% line coverage (59/131)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/motion/spring.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7324aa9b5e952e0328ca3ceb3ce9a93e6a201c86b9d462ae14b10ac2b95d828b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/motion/utils.js: 0.0% line coverage (0/1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/motion/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ed20405391c5a0855472d6cd0848168d8faa0f36735d39088df7d9c1b3b526"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/reactivity/window/index.js: 45.5% line coverage (25/55)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/reactivity/window/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be06a1801018a8af0b145cef6af48bf0ac819915e15ed3d2286be2314f3cdfb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: packages/svelte/src/transition/index.js: 43.5% line coverage (40/92)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/transition/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527538b612691575a88b7fb859016c9a96e2fd3e528b4601d91278b229ab934"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: [SKIP] ${cwd}: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/suite.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdad3249ebf6e9a33077a7ebb75ec47382c2be0bc7aba2d27f4cd4c3a644a466"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: errors if options.name is illegal: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cc903dff82c12bdde289ad8845b2af45bbc7687ffce747467bdca6102847b3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: check warning position: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55b96c2c281382e229e02d7d413805cbcde7c23ccaa66a35c2ecf5018e01688"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: warns if options.name is not capitalised: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44fe5ce595b9ad7fa8232bbe46365cb93d3c8348f8ff57a7f1813b96d84ffcb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ${text} (legacy mode): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bde04fa67aa2fb672fad56f02095391162f5684aa6a0dda75126dd7f4dabdd8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ${text} (runes mode): Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eae63647cccc96ab6deb7ff72d5dc4b111955c602ae87e92cf439fd91abcc6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: schedules rerun when writing to signal before reading it: Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d094ecbc1144522b0d51ed0ed37e9af32e4855000a28ff4e82f3343c6d6433ad"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: (unnamed test): 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":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"329390478e17ac70a905ab7db5268d9a74b1124af5f9907dc90974c8f69cfce5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: REGEX_VALID_TAG_NAME no ReDoS: 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":"packages/svelte/src/utils.test.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"71488914e0e1a54482d4439a1f42731fdd70f976475df7d08d5ae2dbec9f60e5"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: whatwg-encoding: whatwg-encoding 3.1.1 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Use @exodus/bytes instead for a more spec-conformant and faster implementation\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":"pnpm-lock.yaml"},"region":{"startLine":2423}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e5cb7df63ff21258178b12434d5004ecefac7867185f56a1bb3b907df58d8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/2-analyze/index.js: packages/svelte/src/compiler/phases/2-analyze/index.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 177 in index.analyze_component at line 334. 4 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/2-analyze/index.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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4291c5f52277ee5923a3dcdc97bfdbe4dd33d0437443d337d3fc4004fca1516c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js: packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 135 in RegularElement.RegularElement at line 38. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cff16118c90539cf3a1b7139182cfce78270b87365041533c38044902ca631"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js: packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 194 in index.check_element at line 57. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"886716a89995452d5d13f9fc2f54b50bc814a13d6d02965102707d7521e85f69"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/print/index.js: packages/svelte/src/compiler/print/index.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in index.svelte_visitors at line 537. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/print/index.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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d7bf4e0ce2e686a35006d7ff2aaf618da39c7bc8aea006edd405d814b6e8c83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/client/dom/elements/attributes.js: packages/svelte/src/internal/client/dom/elements/attributes.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in attributes.set_attributes at line 279. 5 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/client/dom/elements/attributes.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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22b74114aa4909f3631f05793cf8746db5490f39ab496cc8dafb72eb6236c96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/client/reactivity/batch.js: packages/svelte/src/internal/client/reactivity/batch.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Batch.#commit at line 687. 4 of those changes were fix/bug commits, and the other 8 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/client/reactivity/batch.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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"5024448f2a9d7bf8afeae88bae5505f1ecf8b7b0ac113463b0bfebcfc5d8650c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js: packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 75 in VariableDeclaration.VariableDeclaration at line 16. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5bc33058b2bc99b8ba1aa58ff17ad0b4d473acefdea8ab2028744513774374f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/scope.js: packages/svelte/src/compiler/phases/scope.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in scope.create_scopes at line 920. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/scope.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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"142ddaaee03476339d151057ef81573d113903a8c38c864b94a2d1f1d9de18fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/client/proxy.js: packages/svelte/src/internal/client/proxy.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 70 in proxy.proxy at line 40. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/client/proxy.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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94c1507c0979f0a987fec549df20366b24265d1a745c14f0c7d682cae8bbea0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/client/reactivity/sources.js: packages/svelte/src/internal/client/reactivity/sources.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in sources.internal_set at line 190. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/client/reactivity/sources.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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b40405ef15dc70734a4326162453a8346ee49694fa488d3c07a393183d588a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/compiler/phases/3-transform/server/transform-server.js: packages/svelte/src/compiler/phases/3-transform/server/transform-server.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in transform-server.server_component at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/compiler/phases/3-transform/server/transform-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":"packages/svelte/src/compiler/phases/3-transform/server/transform-server.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6e6e3fb05fdda884bed46f10cb1d7984e9af529fe1d5b701271cfa67913bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/server/index.js: packages/svelte/src/internal/server/index.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in index.attributes at line 130. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/server/index.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":"packages/svelte/src/internal/server/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc619b3fdcc41f5ea1caea87267ed5fa177128aa6c3fe2a49831de27cb65ab7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/svelte/src/internal/client/dom/elements/transitions.js: packages/svelte/src/internal/client/dom/elements/transitions.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in transitions.animate at line 338. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/client/dom/elements/transitions.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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a4038bd5d5223f84bf5a047a2f7b9010c73807af534bd8d8b5422bb12d64ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/svelte/src/internal/server/renderer.js: packages/svelte/src/internal/server/renderer.js changed 9 times in last 90 days and 6 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is Renderer.#run_on_destroy at line 620), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix: render the same \u0060\u003Ctitle\u003E\u0060 on the server as on the client and ignore titles inside failed boundaries (#19176)\u201D; \u201Cfix: reduce SSR render result garbage collection (#18798)\u201D; \u201Cfix: throw when \u0060setContext\u0060 is called after an \u0060await\u0060 during SSR (#18739)\u201D; \u201Cfix: render \u0060selected\u0060 options for \u0060\u003Cselect multiple\u003E\u0060 with an array \u0060value\u0060 on the server (#18720)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:10:50 -05:00\u0027 --until=\u00272026-11-13 21:10:50 -05:00\u0027 --full-history --no-merges -- packages/svelte/src/internal/server/renderer.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":"packages/svelte/src/internal/server/renderer.js"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f36ac857cbc4d4bf5e595c47f81b5d84fadc22eb165078df8f3344059151534"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: benchmarking/analyze-compiler-profile.js, benchmarking/profile-compiler.js. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d4e941a5f6835aeaf5956b9c3e25729fb015bb157e9eeb93ae59fa1fc399fab7"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (5 single-owned of 167 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; 167 of the 380 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (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: benchmarking/utils.js, packages/svelte/src/easing/index.js, packages/svelte/src/compiler/phases/3-transform/client/transform-template/index.js."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO unify test interfaces \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/suite.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"704b4b3d4853d0e9504aa55804597b682b3417d2b336380b8899e7e1bb20e8cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO feels like inference should work here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/store/test.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a71fd38361bc2a09f62c2137e68c6b200871021cb26336577e3ec44884d752a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO feels like inference should work here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/store/test.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"d372e01118de6fbdbfe9d821772c154d88d48f0a26d0367a797d0c6fe5cf6328"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO feels like inference should work here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/store/test.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61e94e3331f4768ecba04a085be9d77f01508c86c92ab8fe92db2b64fe1b957"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO feels like inference should work here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/store/test.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"b576d0b2f88dd01cd212b8b076d3f55fbf89fb702df9c59330b495bbed93f790"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO figure out for which tests we still need this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/sourcemaps/test.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"9562e12996139f958b4a2b4741424475402c427d948b31a828a0c3b5a189aff4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: in an ideal world, the effect wouldn\u0027t fire here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19f85a145f37996c0772fdb1b24d0506d3c8aa265370f7a14d08dbb8ad7ee63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Isolate the html comparison \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/server-side-rendering/test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e6e938bd991501e98628da25f13c54b01c23e83d101732cda61b0e0d547705"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: happy-dom might be faster but currently replaces quotes which fails assertions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/server-side-rendering/test.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9004ffd0a75901cd6b0194a8a3af1773299ae369302d86b48b93c02dd2c2d454"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this shim when we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/server-side-rendering/test.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdaa9f67a6aa2da1bd15e81ea2e36948e77727c263cb36e85175dee3619c73b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove this shim when we can \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aa58c29d10636a6dd00c29e5b46cd1dcacf659dd20a1c758106247ac508001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO huh? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e85ea236cb58a2da3e7152dac3da960dbfa7978745cd84da29e814bc4bc5378"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO convert this to structured data, for more robust comparison? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb15c07af109c73eab3242abf91b5bda12ccaad401407bf6cf9b07e6ed17aa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO convert this to structured data, for more robust comparison? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/hydration/test.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0421c8ec099c239725db819de3d2ad5c4e37f5dce98edab03c3d4f839b1faf69"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to support transition tests \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b082592cfa7734616aad1ee19bc68310d7b60a62ca20a64bb069085475d4ca2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @ts-expect-error TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d2d21752efe10a6bfb9b1e4b4fcdfd2f3b0eb8fa0d6e225a20c7c0a3fb2fba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO enable SSR tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/css/test.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03bd25e424c26771177a29a2d64b56b44f82e060b6243dc045dd4cc8bc5faba"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get the binding for node.name and change the binding to state\u0022 repeats the code it sits on: 5 of its 6 words (get, binding, node, name, state) are already in \u0060let binding = context.state.scope.get(node.name);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/visitors/StyleDirective.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38818d82ae50c776a89bfd0194a22cfdf7cce83825bb70b248c25caaf9f7379"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022aria-activedescendant-has-tabindex\u0022 repeats the code it sits on: 3 of its 3 words (aria, activedescendant, tabindex) are already in \u0060if (\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"378fdc37c21d4dd9257b6fb675a25e901e6e7d0f4070eed8b665578abc4a7eb1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022parse attached sourcemap in processed.code\u0022 repeats the code it sits on: 4 of its 5 words (parse, attached, sourcemap, processed) are already in \u0060export function parse_attached_sourcemap(processed, tag_name)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed338da6726c65a92c58e87333a1543cecdaab87cc606bce269598919796dfd"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060packages/svelte\u0060 (54914 LoC, 378 module-visible types across 50 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0dbb915274563a1a1c7710b67a8c19d2a107f22fcaf0daddfce999f66be50e9d"},"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":"ed65b9c95a4dc53898afcb477735e650c15707ac619af8959b21ca0939b1e0af"},"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":"f3519ccf925af4dbcd14b3786ec69d9749c93b8d8119faf42ed9457ac3bbeaa7"},"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":"d14f53cc9214e5b6289d2370176bcea39877af14cc2346cfb6caa4a453f6e0f7"},"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":"4c6b74d65ac35e258b205f02794b6356db31dd27826c15d47bea58e16fefb7ad"},"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":"1498825690ee691422757d83c6c8726aaf69040fa62a3b6b71a03075f0880320"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9b5885a6c12fb0b11eea601be9a1a38e0b7f2b75e7a7286ab114437f8433525b"},"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":"D29","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":"4349157424111d1c040bf776c1cd0a36c07afc64047fbbc9ea839c17da130f44"},"taxa":[{"id":"CWE-79","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":"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":"44be1602650154800f60a7e75df8dfb20a38993ab12602a008c5a7fa0ffa57c0"},"taxa":[{"id":"CWE-79","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":"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":"6a301270cdbad80c35c199f849bb02d1a3d309c61edbde223ff537c4d86cdffa"},"taxa":[{"id":"CWE-79","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":"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":"5bbfa67248d8dbb06cf99af71d5406fd4c96303fbcbc1f462a1b9739f7fcc0ff"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05: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":"9e32a448cc007ced35f574ac851d62d56116470e427182b0cdc6268bd3dd0048"},"properties":{"dependency":{"package":"form-data","version":"4.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"df21b8127d24aeed9579f3ce44f2f84d2d4f9ae41d6b03d4309b75c4781747cc"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"718f34ffa08f9ba329ae50eff5e3c2d3716b8aa0ae4bc1e7c359227f7016a7f4"},"properties":{"dependency":{"package":"devalue","version":"5.9.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/svelte/src/internal/server/hydratable.js","line":5}}}},{"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":"bc0d4bfbc2dbf13b7b4678c7f750f00c9c46698f61534d37a6a18fd133b243d5"},"properties":{"dependency":{"package":"flatted","version":"3.2.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"691b7e2bf95c8af84df5ce832211dd11cd5da521b87c95df1fe446031c2b4fca"},"properties":{"dependency":{"package":"immutable","version":"4.3.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"685cba4514570b53bf9bc85812fa54c07fec7b3f62fc67d4712c038e9ec2e605"},"properties":{"dependency":{"package":"js-yaml","version":"3.14.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24ca2b657a002371f47253ffc3d1042d7a3752a5b2076cdfa1568b90732fc738"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"635cde9860b68e56898d582225d882b3dab2d1ebe75d111465bf8a323e0e396b"},"properties":{"dependency":{"package":"minimatch","version":"10.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"12edae6eae138c641b09b6214fb78a79a01e61d27b3814cf04454f7f613df914"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ea65af982fbfa7ee58dbe3fa40bd975ecb648d209c563eae9269b519d2be2a6"},"properties":{"dependency":{"package":"nanoid","version":"3.3.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7bbcf727c11f3451b90e0c4181659fec15555399ba4dd1a967c87b3704c5ad8b"},"properties":{"dependency":{"package":"postcss","version":"8.5.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"addbeeceadb4c5bc8ee5caeb04de03ac44d22d147c99d7f88af5a778dea0b9c6"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf997523edcbfd004b0e48079d2d03fc36b5b8058c165442d7b3299bf52fe16"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7713653c1cd2e524df06e4e81d883565ceb6482ea97f6eea94f00d39b4a4d989"},"properties":{"dependency":{"package":"vite","version":"7.3.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"659b17df3a297d0c761f05e64fbd7a7fec481b8fec3425db0f2590512d5583b5"},"properties":{"dependency":{"package":"ws","version":"8.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b717e9dd303f73b8b7ce5922ca68dede6a38dec9452f848a70f0889e9aafb7d7"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.7","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0894c065e4a01760ff59c8f43ddba69f9f1496a578e64e57b4677ed19d7024aa"},"properties":{"dependency":{"package":"@vitest/mocker","version":"4.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b7bda289298f8c7b577c3df21f51a6fc17f92b7e23b2a76b5f7c4731a8327d8c"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"16bc49aac72eafef4ac9a880a9755121d0367a6bdf3e48689c49c4d9d8c09a58"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.32","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/svelte/scripts/generate-browser-support.ts","line":30}}}},{"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":"932a3bfecc4fdb553659a83b676fe51d69a354f33acdb515911e099d90c2a373"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"7.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bcaff5d1e287866fb15ab08f33c0744f85cfc07f596d7af736c916f57cc95099"},"properties":{"dependency":{"package":"uuid","version":"11.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba7c793d0a5a9b5343b3ff4f7bdb6cbe5747496305857198a7f7162b0eeba03e"},"properties":{"dependency":{"package":"vitest","version":"4.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/svelte/tests/helpers.js","line":7}}}},{"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":"cab2098e551f88d096756eea896ab201fc72ec0275bddc366f276c5eb947889d"},"properties":{"dependency":{"package":"yaml","version":"1.10.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a861b1ab2fd6ac5a0cbbd2d1eaeca38914dcada77f7a5d62bbdd015efb9e974e"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f54d1f4607fdaea22194262dabcf05db6136d2d813d8619ac129c6b6f33edda"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"test-or-tooling","file":"packages/svelte/tests/runtime-browser/test.ts","line":2}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 167 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 167 of the 380 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: packages/svelte/src/internal/client/dom/elements/custom-element.js, packages/svelte/src/store/shared/index.js, packages/svelte/src/reactivity/set.js, packages/svelte/src/compiler/preprocess/decode_sourcemap.js. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0db897af6a52ffa08539d901aea5932ecb8c30f4f735e73955e5e681d3e510"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/store/shared/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21ba0b042f473486cb0cafddffd773403531836dd340e6c4f8495f679268d81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/reactivity/set.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2261c1ec47bbff657f44b7b50285beb7f97ecb7fe754c605da2045f41052e038"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/preprocess/decode_sourcemap.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"359c5afe3deabfdd710b0cc38aaf588bef774b5ab0969e41a4f5b3b004602224"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SlotElement.js \u2194 component.js: \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js\u0060 and \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js\u0060 change together 91% of the time (10 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b5e23a6d\u0060 chore: tweak memoizer logic (#17042); \u00609a488d6b\u0060 fix: place \u0060let:\u0060 declarations before \u0060{@const}\u0060 declarations (#16985); \u0060f6a2599e\u0060 chore: remove memoize_expression (#16358) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c267ff224a73c8263953ef328edb7552ee5cf4d7a3fb2305a445fa13d3011fe"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AwaitBlock.js \u2194 IfBlock.js: \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js\u0060 and \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f2648b35\u0060 fix: end a restored reaction context at the end of its synchronous se\u2026; \u006032882a95\u0060 feat: add parent hierarchy to \u0060__svelte_meta\u0060 objects at dev time (#1\u2026; \u006018d71fd5\u0060 chore: reuse expression nodes (#15513) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"555339a77bd2489cfff2b78f77e37ab185153d762cff83fdca76ab9fb9e14544"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EachBlock.js \u2194 IfBlock.js: \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js\u0060 and \u0060packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060f2648b35\u0060 fix: end a restored reaction context at the end of its synchronous se\u2026; \u0060bc4dc1d1\u0060 fix: avoid erroneous async derived expressions for blocks (#17604); \u006032882a95\u0060 feat: add parent hierarchy to \u0060__svelte_meta\u0060 objects at dev time (#1\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6be8c7649d9088a9605db3a7f5cdc52b04e31d1ec46a639017d400c23ff6cd7"}},{"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":"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":"AC2","level":"error","message":{"text":"\u003Ctextarea\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":"packages/svelte/src/compiler/errors.js"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7b725d1bc0e7829df8449ad5524f8e5f6f5473aba87c58f6cff035efb556d0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.3:1): \u0060.missing\u0060 sets color: #6e7781 on background-color: #f6f8fa \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":"benchmarking/compare/results.template.html"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e0e37ae5f2ec84c900a2b07ca18d0fd3e9933e2db0a0339616c7146e8910f9"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/validate-options.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01822b17a57d92de1e0b30ddf69d9bace56104e90a78ce30ffd653cb1bc12d8"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060tick\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/index-server.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c17bba91f29540e4e032cfb6c2cfefa240d549385755a25c477d1573af9f7109"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060settled\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/index-server.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcd2e9ed13e51a913be3218f9cf6d7bd76f2f277afa887ecbb64f0c56aaf01b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3237e1a16172ffc048f9dcb18e2c3660293b7465b54b31ad5f100e1da172c8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea2316b03ae74177eaf1eca138fc2c3802c9523aa9962fb9207b8080f080d99"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/signals/test.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"db490fc878a618d29c499effd1e34bb5bd2edd6c5ea3d651472162e7662bc52e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/suite.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"08773fe6f7bb86786ca3412e81eed1207523888487115080f1344812846edfe2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5534119d7d0ef1f4d3e939b4741e9ecb22e9fd334006beb0d1a4c736c357fc"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c249a777de99f2e561cceda02f0b8e6a2a27a62864c572625bf79ba6ffc3fab8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/test.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"24107e13a13e17ba550915b30a097b0239bc91bd0652a43a9051a872695812a7"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 4 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":5}}}],"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":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060with_cpu_profile\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":"benchmarking/utils.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"510dd5a7d2382323972b72965262de4cd26e05e4851419088d1f9726da248489"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060with_cpu_profile\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":"benchmarking/utils.js"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb82070e2bf0d58c7894c4be867c6faa8ec4b410408714bce41dcccbba026a4e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060with_cpu_profile\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":"benchmarking/utils.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3faaf183f07ea171b54f078e8aa2e9e344da249d8943e410a5425040365a25"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060callback to use\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":"playgrounds/sandbox/ssr-dev.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54085c85f3eaf6dece25a84bf84e6981cdf68517e79f4602fb3a89a58285d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (17 clone groups): 17 duplicated blocks under packages/svelte/src/compiler/phases/3-transform/ have copies in at least two of the sibling directories client, server \u2014 16 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 17 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 17 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 17 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3a0ba260a6b72bd9d4f4b0c4f88a28299a18ee9d229057548134b2e8a9cdc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (132 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:16 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 935 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87d2ef20a5566009a0f091525dd10ea9d057c4d43951e1d725f32e2b99a9f17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (120 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js:71 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 835 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f06fb537ea1c0f2fabc43c7c055aa429c9e09a3c4ad47b4fb04db9d2c19e48e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (64 matched lines \u00D7 2 locations): packages/svelte/src/reactivity/map.js:53 \u00B7 packages/svelte/src/reactivity/set.js:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 335 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":"packages/svelte/src/reactivity/map.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d0c99a0d9c51f11e0f6f2c25663622d7008f182ccad92671ce985465d70a0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/DeclarationTag.js:27 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/DeclarationTag.js:22 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/DeclarationTag.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"663b867d76c149b9fea0ccea99e20e31b6a74af9ac9b7f403ed5e5f62041ca7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js:13 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/ClassBody.js:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 234 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc34346c8341d7103f089a18de723b9bd2e7aa71ca4b0be63f642d0bb72b3ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/transform-client.js:106 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/transform-server.js:65 \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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30f3be7518a59b3aa8c906c115b37bc879679f61d13965ac063604150a5ef73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/svelte/src/motion/tweened.js:109 \u00B7 packages/svelte/src/motion/tweened.js:239 \u2014 the two spans are one implementation copied and then locally edited \u2014 116 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":"packages/svelte/src/motion/tweened.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea7a6d98233189ef98dfc544fef78f27ba8610fafc72ee551e98a0a48eaacb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/svelte/src/reactivity/map.js:96 \u00B7 packages/svelte/src/reactivity/map.js:131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/reactivity/map.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65be54c51989193f552e55678cc89fe894d09cfd26263179c337c5fbe07164a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/svelte/src/compiler/utils/ast.js:300 \u00B7 packages/svelte/src/compiler/utils/ast.js:357 \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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a046c37920f897540bec17da8353b21670e43cedbc0f526f948b346a9289df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/svelte/scripts/check-treeshakeability.js:13 \u00B7 packages/svelte/scripts/generate-browser-support.ts:293 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"packages/svelte/scripts/check-treeshakeability.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4233f47313c0f9aec8aa2b3fe28185ade74882871e5014c794a4f101c32b614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js:40 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/KeyBlock.js:26 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b231e524b6add78dad2f4c828e69c0ccbb4e1bbe24dd743151590b9314dc66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): packages/svelte/src/index-client.js:157 \u00B7 packages/svelte/src/legacy/legacy-client.js:250 \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":"packages/svelte/src/index-client.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1946a45242d2e990862bac7b2040ea2438b870ab4c7f6aa308f8fddd6a80cd0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/transform-client.js:446 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/transform-server.js:283 \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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ccd381fcff3cdeec42836e1e6ae4f20e032b64a4a8791a07c3428cff5f54cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/RenderTag.js:73 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RenderTag.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1466163d6a4e9e9ec8bf77eee2996252955c919826c6472140540144f8e19c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js:164 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js:234 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f28b91e56d7835868bc622ead510dfb045742b432bd6d52033550d7e3140161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/svelte/src/internal/client/proxy.js:170 \u00B7 packages/svelte/src/internal/client/proxy.js:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a6b66171d6038e6bde3db28f9ea6d082ca013a53aedbf0f17da01308980c5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/svelte/src/internal/server/renderer.js:291 \u00B7 packages/svelte/src/internal/server/renderer.js:332 \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":"packages/svelte/src/internal/server/renderer.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4317bd6a69e83125e9dbcfde3ab98d2fa382e77a8acab45adc974ed97b89227b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/svelte/src/internal/client/context.js:67 \u00B7 packages/svelte/src/internal/server/context.js:7 \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":"packages/svelte/src/internal/client/context.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab49d8f315b6fce7d1bd0dc8083712b360f640b4894e9d63f0d61f6caddbc681"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/index.js:578 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"5040bdc140eed55f39515ceb605412739421b6ba4ee553558354c305d965ec37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/TransitionDirective.js:20 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/UseDirective.js:26 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/TransitionDirective.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"142a1483405a65a594a6975717efbc54651bcfaadbfc0fa9303f36744f8f8186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/svelte/src/internal/client/dev/assign.js:28 \u00B7 packages/svelte/src/internal/client/dev/assign.js:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 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":"packages/svelte/src/internal/client/dev/assign.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be81a04fe046655da0b5086b5b2f9cd8e0b6ff5dba28d42528a2d34dfa1bb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/svelte/src/motion/spring.js:112 \u00B7 packages/svelte/src/motion/spring.js:253 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 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":"packages/svelte/src/motion/spring.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"371e76833b5610e5f07d18eba15b082bbce3ca096ef08f54ddcbf792707586f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/svelte/src/compiler/migrate/index.js:1645 \u00B7 packages/svelte/src/compiler/migrate/index.js:1665 \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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8dea7f6e36d940cead2dff4fc4b42f4dab7578feeeb3257c38f686c3ff6b26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/css/utils.js:118 \u00B7 packages/svelte/src/compiler/phases/2-analyze/css/utils.js:163 \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":"packages/svelte/src/compiler/phases/2-analyze/css/utils.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"057a5e90c5900cc03a0308d642dcf105287c523f98c86d6dc4671f8a9ca4748c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/transform-client.js:667 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/transform-server.js:403 \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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf10576511ade773397847125d94d210dcda2e84e13ad5d96a8bf9e7fb4a067"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/svelte/src/compiler/print/index.js:802 \u00B7 packages/svelte/src/compiler/print/index.js:974 \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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"5661b5395430d0aee537a11a8fbeeec470dbc59c755d7c1980db9b9cd9d0a7de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/svelte/src/reactivity/window/index.js:68 \u00B7 packages/svelte/src/reactivity/window/index.js:91 \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":"packages/svelte/src/reactivity/window/index.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa915c7809bbc71167440cb2fa8317eabd858d8eb131baa4fb3f996b71d43e7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5 locations): packages/svelte/src/compiler/legacy.js:479 \u00B7 packages/svelte/src/compiler/legacy.js:494 \u00B7 packages/svelte/src/compiler/legacy.js:543 \u00B7 packages/svelte/src/compiler/legacy.js:557 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41deb59b1d59cedb249bfe2192d9166fe41f9589bdbde2dcd8fd8f5663a929b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/read/style.js:207 \u00B7 packages/svelte/src/compiler/phases/1-parse/read/style.js:320 \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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f065e9555db5b3fb613aa5707da5bf7bfe594d863cb901112d3a98b0c4af2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/element.js:539 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/element.js:558 \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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5662c0586740869a904b9096d666a67b5cb97a72a138173c1a90ebca4bcc2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/index.js:969 \u00B7 packages/svelte/src/compiler/phases/2-analyze/index.js:1029 \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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"471dce751bd75cf009879f7e7b93446ffb4c67969f39aecfc92ec0de5fff0943"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/transform-client.js:529 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/transform-server.js:385 \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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b00472d60e167f2622070488105a2bbe0d71c9e24ff16aff87d45f99c6ec6d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js:16 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.js:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 121 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c45574ed2f3a26b09657df1b03c5f4d27302a8e774ff79a6f6db6fd39f87ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/svelte/src/internal/client/reactivity/props.js:64 \u00B7 packages/svelte/src/internal/client/reactivity/props.js:131 \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":"packages/svelte/src/internal/client/reactivity/props.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fb8a63298b7793cbf6658bc7ed898f2de1e6694aa59fae2cec8bff5e657352"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/svelte/src/compiler/legacy.js:433 \u00B7 packages/svelte/src/compiler/legacy.js:447 \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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c4c274f4f0adaef2c33e40dd735476ebdd97f6814d73e9574fdb8248af7d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/read/style.js:236 \u00B7 packages/svelte/src/compiler/phases/1-parse/read/style.js:253 \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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"af47a94a266784e896a7f54bd8784f342a67aefbadf0daea8e376cc6b69643a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/AttachTag.js:12 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/UseDirective.js:35 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AttachTag.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb216f0bfaf8b755364dc6cad068cb8392b70c037a26ae6deade017fa582ca9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js:10 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/Fragment.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde83c2e1bf5f73516690cc3dba46f4a8498a0a7e84721ce6bee7040df8b2419"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/svelte/src/compiler/print/index.js:1068 \u00B7 packages/svelte/src/compiler/print/index.js:1088 \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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"235d5e7fe4f70df338d54851074ed935cf99da0952a5bace55c7a832369ee5e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/svelte/src/internal/client/dom/elements/bindings/media.js:183 \u00B7 packages/svelte/src/internal/client/dom/elements/bindings/media.js:208 \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":"packages/svelte/src/internal/client/dom/elements/bindings/media.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb94f2cdec70a28b8ba6fe649ef2ad27ed141b6abc75724e04982e1014501ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10 locations): packages/svelte/src/compiler/legacy.js:229 \u00B7 packages/svelte/src/compiler/legacy.js:423 \u00B7 packages/svelte/src/compiler/legacy.js:476 \u00B7 packages/svelte/src/compiler/legacy.js:491 \u00B7 \u002B6 more site(s) not listed \u2014 all 10 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc37dae8b4d014aea0977db299b2352098d9810987abc56cd8ea22764131b10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/tag.js:51 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/tag.js:722 \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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3e20d5c28604d411da204ef12316bab43873a833322f6d798878bdb49ed940"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js:141 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/Program.js:11 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52d40ff121d0e7e49869b9e0a33858be88960a1ecc34199d80bbec2b94d9d30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/server/visitors/SlotElement.js:28 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js:89 \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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/SlotElement.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b6ca0ad176caad904c31741beba9d66de86a9b46909870abec15b02fa07e74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/compiler/print/index.js:457 \u00B7 packages/svelte/src/compiler/print/index.js:471 \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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f960faa995c81b3a0a31958827ff13377b84519199ad6c4c9e88225f47297a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/compiler/print/index.js:990 \u00B7 packages/svelte/src/compiler/print/index.js:1137 \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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8b5bca92fa6bb1b1b6e27c2bb13d617a79b437743167d603fccd4a7bab26d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/internal/client/dom/template.js:72 \u00B7 packages/svelte/src/internal/client/dom/template.js:239 \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":"packages/svelte/src/internal/client/dom/template.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b521ea44c9b275eb9aa617ef50e88c1ef1c2855c62e89a50680a83fd51ba1aaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/internal/client/dom/template.js:133 \u00B7 packages/svelte/src/internal/client/dom/template.js:245 \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":"packages/svelte/src/internal/client/dom/template.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd751ebbac86abdc37f3d9e1f7a78423f23fc94d3bfde655da25c33388a90d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/svelte/src/reactivity/set.js:193 \u00B7 packages/svelte/src/reactivity/url-search-params.js:169 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/reactivity/set.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7c22f3e437e4e1716601d6783b51e9156eeaed0ce4295d6cb49befd6f78778"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): benchmarking/compare/runner.js:36 \u00B7 benchmarking/run.js:76 \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":"benchmarking/compare/runner.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"87392ef9380ff2223ac0cfb1bb13a266d2dc239afb8fda1c8b37b4fc24ea3d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/element.js:263 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/element.js:281 \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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8175aa3c0d0b46c4302ab1cfa6dd4112ffe94e356ace3fcb52a1fa38e985abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/tag.js:387 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/tag.js:399 \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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527ac73f301297d29d43ab0ef570c2589f69560df585214df09b2a04e63d520"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/index.js:1165 \u00B7 packages/svelte/src/compiler/phases/2-analyze/index.js:1197 \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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f1cc9b2ee5ef516331754c29097bd33af4ca5eed31c9b86e6f79901b28f609"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js:125 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/AwaitExpression.js:17 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7029d0f18e460f907e5a7acfa98e5e8a688c1c1bcb2d795a86e8fe5a7b6297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js:12 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteWindow.js:12 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"13954ea3286af42be4d387122a70a155d6d24c62293f28e5a26d724720006a4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/AnimateDirective.js:24 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/AttachTag.js:12 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/TransitionDirective.js:28 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/UseDirective.js:35 \u2014 the 4 copies are spread across 4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AnimateDirective.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0aae83e184f1276f6ca5006120c977d0b04c18526f5aed88a5d701bfd27e6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js:40 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js:112 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/KeyBlock.js:26 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js:142 \u2014 the 4 copies are spread across 4 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdeb71dce25262ee095e76366ad45f79f8c61bf286eaf1ff37c46f3c4ffece2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/svelte/src/internal/client/dev/equality.js:20 \u00B7 packages/svelte/src/internal/client/dev/equality.js:37 \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":"packages/svelte/src/internal/client/dev/equality.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8713b266788d9eafbe4dc95c61fa47b2b8833590b5f18ca85c03b26d339781a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/svelte/src/compiler/legacy.js:407 \u00B7 packages/svelte/src/compiler/legacy.js:417 \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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c381e01ca3a13da2fe142004e9608eeb273245db12e62ac8b4713c4ca52263f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/tag.js:599 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/tag.js:618 \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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ceb2d7b8490dc46a87d776aed88b68ac876b5506154d58383f61bb74ca8af2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/utils.js:179 \u00B7 packages/svelte/src/compiler/phases/3-transform/utils.js:192 \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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6256c79210e93068fbe9ce659640e768199e80375354634e395538182eb1b9fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/scope.js:1304 \u00B7 packages/svelte/src/compiler/phases/scope.js:1318 \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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f4f105fd71fbb00f19f68082a4849d136bce4d63d1c0ace2507162687db7d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/svelte/src/compiler/print/index.js:705 \u00B7 packages/svelte/src/compiler/print/index.js:1145 \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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"2026a51e959d2a45306bea62c07fdfb2607e153d77fb26ab1758fddeeed99643"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/svelte/src/internal/client/reactivity/effects.js:644 \u00B7 packages/svelte/src/internal/client/reactivity/effects.js:696 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d3f20c42fd7bfdd9177000095c8821d1cf7ef1e453e1b9a0dcb1c34893543a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/index.js:266 \u00B7 packages/svelte/src/compiler/phases/1-parse/index.js:285 \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":"packages/svelte/src/compiler/phases/1-parse/index.js"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5fabddd00b15da254858cd5e266bb125b0bc702d2f74a7fcffdfea3e446c4e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/state/tag.js:356 \u00B7 packages/svelte/src/compiler/phases/1-parse/state/tag.js:367 \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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b1fd850ade94e58e67cf3ca9e2433c2f718a2c984374c38f6370074c8ae8fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js:19 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js:30 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d97f7790bc7fe77f369f3a1db400c27e4a4a2469de568cc850d768aab9dba74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js:28 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js:256 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f49f63ee33f0411f196c6edadd8e61915c4e067cbf0c625aa46ed4a23e6b31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js:169 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/shared/element.js:48 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e6651414aab5759055972b5eb217681f3161bcc0c5b78e19a084c7be1a458"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js:47 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js:44 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a71c22b99a33b2d64c428159378d793ca6382106d5fe30ffe79e27b6900e8e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js:229 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js:272 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc940a35e71029d0bdecf36e1313d758e2220d57b4599f7c5ba90e1fa0b571cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js:174 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js:65 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js:278 \u2014 the 3 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86c6d1595ee15b856463d95c3b3c121d77992026d87c65a0925eec1a2311ee4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/css/index.js:148 \u00B7 packages/svelte/src/compiler/phases/3-transform/css/index.js:160 \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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c3fe12fcee94b7e3198f2beddf0a5ea88a9c05995e0bf4985e7623d953c270"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js:118 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js:165 \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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd169361d3790c50aee98d1fd4c018a71308df2a1f2549c39997eb069190b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/svelte/src/transition/index.js:39 \u00B7 packages/svelte/src/transition/index.js:160 \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":"packages/svelte/src/transition/index.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9e7ebe3f612ce12ffff2ca96d41b46f13a0909dd759b70dd41197379f94bbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): benchmarking/utils.js:152 \u00B7 benchmarking/utils.js:263 \u2014 the two spans are one implementation copied and then locally edited \u2014 59 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":"benchmarking/utils.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd83758f2e7bb0eb2abb874d8d35a5a219bc0299a9f6415b39628f87e7a21ab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/migrate/index.js:1392 \u00B7 packages/svelte/src/compiler/migrate/index.js:1418 \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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63878c4f17a84fe00b9c27e63722f4d2c91aee2e4c676f2f965a50cd7fd646"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js:46 \u00B7 packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js:66 \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":"packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"923a60f8f4474655a6033a5f8a83aa6de307f2b9a21f26c7ff92f83cbb54093e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/DebugTag.js:4 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/DebugTag.js:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/DebugTag.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb4e451d7404df81ae899bdc51bd851edb9cc74d4c8b257c5847442fdccdcab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:174 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:268 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad19965e9ed58cbf56090a7cc1a174d3382fb83b0c9c48232d1ebdbac0eca82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:185 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:417 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"614396eb8d8dd27de5d2b4f636216d2d31c65b2ea821d8613aa42f97bb131e5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/server/visitors/Fragment.js:39 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js:207 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/Fragment.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"308c1197c2b262882d1d88443525ab53d31fbcd83ec8935ed2193cd8c7f5cce5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js:42 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js:247 \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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c142335758ef212c82f46c3c972433f850b4fcd94b5d401fe4b2f2755488d09c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/compiler/utils/mapped_code.js:142 \u00B7 packages/svelte/src/compiler/utils/mapped_code.js:151 \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":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c3e6afb64bbe2774ab5245f27bfea04f9b186bfbb8f686c039371d08755a4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/svelte/src/constants.js:4 \u00B7 packages/svelte/src/constants.js:14 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/constants.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0259d1d72f6317d9bc11125c79a7da47f7fdae67d8f9c7a1126ae9150f6747de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/svelte/src/internal/client/constants.js:2 \u00B7 packages/svelte/src/internal/client/constants.js:24 \u00B7 packages/svelte/src/internal/client/constants.js:40 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS \u2014 bindings the module declares and exports \u2014 rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER \u2014 the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration \u2014 one binding per distinct thing, differing precisely in the thing each one names \u2014 the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/constants.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7add3e7fbc5259add28a789a2291e2faf97b09adb4a9327353ae400f8ca74733"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/svelte/src/reactivity/window/index.js:14 \u00B7 packages/svelte/src/reactivity/window/index.js:32 \u00B7 packages/svelte/src/reactivity/window/index.js:50 \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":"packages/svelte/src/reactivity/window/index.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f028af593cbbefd0ffdec9e86c4bf4eeddaa48358e11be5d85c8b7cdf38c186e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): benchmarking/analyze-compiler-profile.js:46 \u00B7 benchmarking/utils.js:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31455ded8b2472cf8ba7ca50f59f5b17004583a6ffede8bee4105c8c99c0ba6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/migrate/index.js:415 \u00B7 packages/svelte/src/compiler/migrate/index.js:423 \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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec1b39e41e6744fb2d2f5e0f3da843259555a16fd3efeb4a8c4807246a633de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/migrate/index.js:1612 \u00B7 packages/svelte/src/compiler/migrate/index.js:1622 \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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"96039ed0d9fa23e8e494ba25fb6f5fb196894568b0b94b6725b806130da161d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/index.js:655 \u00B7 packages/svelte/src/compiler/phases/3-transform/utils.js:43 \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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c200425b9fd0d15d1cb1c20fa98791f40a107cae1b5a9e4c2925499d7a0d3697"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/AttachTag.js:10 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/TransitionDirective.js:11 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/UseDirective.js:10 \u2014 the 3 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. 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AttachTag.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa61ae9303545a025c055d7f8808ae19b96bac31feaacb4f8593f5f20018169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js:12 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js:12 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteWindow.js:12 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f40bbabb6f4850de1b9876b399eb9954cadfd8d943533a079dc27896613600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js:117 \u00B7 packages/svelte/src/compiler/phases/scope.js:987 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a6680b9e6a80e0229ef86410b2277a0c98514ef42085d56252fbf2192d1488"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js:29 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js:44 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"19aa19528ba91191efd6e9916e87a1aefde4c9896863aeb7469b9e962b9c0746"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js:258 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/SnippetBlock.js:48 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdf133c433acdb164a267207f349f227664495e199bb5d42f4e4a669791996d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js:5 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/LabeledStatement.js:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094382ee32120522b34142f9046f806b792f48e8a44426a5a65cad143744835"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:53 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js:104 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780a15d7dfc409579890daa81cb490ce70be1b493ebc6922363d9ab539a6eb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/svelte/src/internal/client/dev/debug.js:46 \u00B7 packages/svelte/src/internal/client/dev/debug.js:53 \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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e8b8e0e1d86517883b7cd550c40be38cc8ab942e7091fa577c44baed151cef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/index.js:268 \u00B7 packages/svelte/src/compiler/phases/2-analyze/index.js:355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1ff33a63bd892637502c50edcfd4fe0a92cbe1a49a3401c153493dcdfe8ce9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js:211 \u00B7 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js:261 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f52feb94ef8457eb85908bd8b937ffd20f2eb086b997579b07a91a309534e38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/svelte/src/compiler/utils/extract_svelte_ignore.js:38 \u00B7 packages/svelte/src/compiler/utils/extract_svelte_ignore.js:64 \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":"packages/svelte/src/compiler/utils/extract_svelte_ignore.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d04b19b407d986df2c3c3da6c6fdaee41e5b7e816475b8aa9c63f02b2960ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/svelte/src/internal/client/reactivity/props.js:187 \u00B7 packages/svelte/src/internal/client/reactivity/props.js:208 \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":"packages/svelte/src/internal/client/reactivity/props.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81bf55df651b4616693ad3f509edc72a3297132a258ef10851404d4466120ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/AssignmentExpression.js:10 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/UpdateExpression.js:10 \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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AssignmentExpression.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14cb9df88ac34c6eb774a1ba6b901c635b2b92b2029a8d5f61775199dff5e50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js:829 \u00B7 packages/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.js:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"44834e24efca524d69967366816e388906a387a1432eefad9ba094aa2fee1f7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js:148 \u00B7 packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js:212 \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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c14eff418523b97419da3047cd57d47909cf9cab537a76fa8e996987a78d9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): packages/svelte/src/compiler/utils/mapped_code.js:25 \u00B7 packages/svelte/src/compiler/utils/mapped_code.js:137 \u00B7 packages/svelte/src/compiler/utils/mapped_code.js:148 \u00B7 packages/svelte/src/compiler/utils/mapped_code.js:157 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"296113e55100943429167220bf10fb9b1ccea0a8b5d903a3b910b33318b3e749"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: benchmarking/benchmarks/reactivity/tests/kairo_broad_block.bench.js:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/svelte/src/internal/client/reactivity/effects.js) \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":"benchmarking/benchmarks/reactivity/tests/kairo_broad_block.bench.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d28d958443f38b5608777e7cbfca9e6d9f7d8b72d006c5d45686a62a3087ad7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: benchmarking/benchmarks/reactivity/tests/kairo_deep_block.bench.js:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/svelte/src/internal/client/reactivity/effects.js) \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":"benchmarking/benchmarks/reactivity/tests/kairo_deep_block.bench.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ece9b628edc9bec39671b2acc0b5db8dac5f65e6550dadb44954fb3398f9f33"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: benchmarking/run.js:3 reaches into another package with a relative path (../packages/svelte/src/internal/client/index.js) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmarking/run.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"504558d7594814902633fb49121db41ae2c3e6fbdd9943d71dbc66a0bb02c4e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check_element (cyclomatic 181, cognitive 243): check_element has cyclomatic complexity 181 and cognitive complexity 243; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d54eb41b9ec72b0503894b677b502e8c9687347726c8b31464c4cc9acff008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyze_component (cyclomatic 163, cognitive 360): analyze_component has cyclomatic complexity 163 and cognitive complexity 360; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ceaac40d4da230d88af12bdf5509ab42493dfef04e6777e443822bdee61a4b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegularElement (cyclomatic 124, cognitive 167): RegularElement has cyclomatic complexity 124 and cognitive complexity 167; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8b7e73f91bd6e93fcb544ecab1d017b783baec9ae05c719975fd8ff7a24de7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 107, cognitive 131): constructor has cyclomatic complexity 107 and cognitive complexity 131; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"783ee13f1c6282220ecc0b4381b6da821039261c5fdaf24472fe1b9e78cae83e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function client_component (cyclomatic 90, cognitive 134): client_component has cyclomatic complexity 90 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f7a19d70e843d4b2e71573fde92a3ae5f22c47b15d34d76909104f750cfbed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function element (cyclomatic 89, cognitive 150): element has cyclomatic complexity 89 and cognitive complexity 150; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c228279c2b72eb38ef8c463bac574360cf02e8dcdb849782b80de69cfbf5ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CallExpression (cyclomatic 79, cognitive 84): CallExpression has cyclomatic complexity 79 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/CallExpression.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d9af6e0e7e8113f51098718b45f5bbacb4f9cc98f4438e66fd6e3aecef3f0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_component (cyclomatic 78, cognitive 150): build_component has cyclomatic complexity 78 and cognitive complexity 150; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f88e3c9293b09abfe33cdc09ca3b6acdb0f3f75c89c00348180fb6b148d16a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BindDirective (cyclomatic 76, cognitive 57): BindDirective has cyclomatic complexity 76 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 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/BindDirective.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1a7bd7b54162ff99f601c3b737139bd030c6ad7d0c55ba7d995b2c38c0ed45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run_test_variant (cyclomatic 74, cognitive 119): run_test_variant has cyclomatic complexity 74 and cognitive complexity 119; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2403611372e6d36b7344acaa1c58e42cc19289045fe1c5a776be0c5bab0c66c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrate (cyclomatic 73, cognitive 130): migrate has cyclomatic complexity 73 and cognitive complexity 130; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab00a0f2c0b1edddc159e604335f429e87980858a0ddedfa12fba2f0dc137490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BindDirective (cyclomatic 72, cognitive 132): BindDirective has cyclomatic complexity 72 and cognitive complexity 132; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c8953e32375ba821c8f8cc49ac9bc3b62e4e14cfd5f7033948eda5bc03683b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_element_attributes (cyclomatic 71, cognitive 136): build_element_attributes has cyclomatic complexity 71 and cognitive complexity 136; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23f93e901dfdf4519653224c076d0fdf7df2f8fc561086894b412d975159ee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set_attributes (cyclomatic 71, cognitive 113): set_attributes has cyclomatic complexity 71 and cognitive complexity 113; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30d408c8d4ed299fbc60dda0c3b609705012441ec91031217604f5e08bc3219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VariableDeclaration (cyclomatic 68, cognitive 229): VariableDeclaration has cyclomatic complexity 68 and cognitive complexity 229; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b305069cd763a6aaca0f00b95124131746f16b788d4407abeb16f11fc0b61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clean_nodes (cyclomatic 68, cognitive 70): clean_nodes has cyclomatic complexity 68 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9aa97a4e88a5e316c3426883cf191e9e075ca0b4aee95d7c4eeba8362a34ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Identifier (cyclomatic 66, cognitive 107): Identifier has cyclomatic complexity 66 and cognitive complexity 107; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f11a51798f3844b3694b523919ac640765a7e4634069bff13845bce0d3f9cfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function relative_selector_might_apply_to_node (cyclomatic 64, cognitive 142): relative_selector_might_apply_to_node has cyclomatic complexity 64 and cognitive complexity 142; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6701b633c3a1ae61bca3e56f59e36abcbb94faf61c4d27fb52c17ab36ea3721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegularElement (cyclomatic 60, cognitive 106): RegularElement has cyclomatic complexity 60 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/RegularElement.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8defdf27d2a13fe778717c98bf1e48259202253f2ca353e93b2525112ec137"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_assignment (cyclomatic 60, cognitive 74): build_assignment has cyclomatic complexity 60 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"44da6370d603b38769f82ebce36be6b1077c1bc87cdfee96c076639f07d17a33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VariableDeclaration (cyclomatic 59, cognitive 138): VariableDeclaration has cyclomatic complexity 59 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a3f14dff6a2bacc3f400544bd40035d85728c8a8d1ee3f7460c9a6fb56ed08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EachBlock (cyclomatic 55, cognitive 78): EachBlock has cyclomatic complexity 55 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1929424378c5c3d37c36267f47eb6a33623e03023ec7f20f012c4fea4624b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_options (cyclomatic 54, cognitive 115): read_options has cyclomatic complexity 54 and cognitive complexity 115; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/1-parse/read/options.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c69ccce8169eb88320f9d40d23384f42a21833bfe6309e65414000094b05213"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VariableDeclarator (cyclomatic 50, cognitive 128): VariableDeclarator has cyclomatic complexity 50 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0b70468bc2db0ee18eed749514897ce4ddc45412e4622c0335b16168189cba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get (cyclomatic 50, cognitive 87): get has cyclomatic complexity 50 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"13189b899566915cebdbc8dc2989c157bfc2cb0100ce869996e1a84366a8d5ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function profile_to_markdown (cyclomatic 48, cognitive 107): profile_to_markdown has cyclomatic complexity 48 and cognitive complexity 107; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"benchmarking/utils.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1be148fc56b9a69cec4a5efffbd9ffab12486063731ebb7fbb94b5a011543be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrate_slot_usage (cyclomatic 47, cognitive 77): migrate_slot_usage has cyclomatic complexity 47 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fca2b96d24669041b3da251f3d65bf96d977a742eb1890fc9af770aee3b4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function open (cyclomatic 46, cognitive 113): open has cyclomatic complexity 46 and cognitive complexity 113; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65ea73bd9b2af84ad6be1a24fe7c8937fce534a1002579ee65d365164e735e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_inline_component (cyclomatic 46, cognitive 74): build_inline_component has cyclomatic complexity 46 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f56c82d275a4c68273606da4ed2fc6c4f60c52216d976d4030df3948ae60004"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcile (cyclomatic 45, cognitive 117): reconcile has cyclomatic complexity 45 and cognitive complexity 117; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9bfad444a319f4919139e71acbe85ebf65bb80d110d5ad470095a6b63855ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function server_component (cyclomatic 45, cognitive 51): server_component has cyclomatic complexity 45 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/server/transform-server.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c519397dc7d66dbedfe1cf29cff1e122b46ee3bb3b645b59df94e34b1e7f5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_element (cyclomatic 41, cognitive 118): validate_element has cyclomatic complexity 41 and cognitive complexity 118; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/element.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bdeebb80b5b76c905e7ed6ef2a42305b980be46f8bbe4347c1f2e59e9d04c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Fragment (cyclomatic 41, cognitive 48): Fragment has cyclomatic complexity 41 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba06166c74614357fa426fd92f01bf816a53dde04908e5c37919aaa8ffbd7c88"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 36): (anonymous) has cyclomatic complexity 38 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 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":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"811e20c7c96512ddde124ccdffa70c69c25b00767d78a573f49b150c1dedbdbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VariableDeclaration (cyclomatic 37, cognitive 95): VariableDeclaration has cyclomatic complexity 37 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed06a5e00ea2809f1c010f266a7ba9e000e83aac84382d1010b353b26326b44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassBody (cyclomatic 37, cognitive 78): ClassBody has cyclomatic complexity 37 and cognitive complexity 78; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ClassBody.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"48da143d525fa550fd8c680ca9d245cbfa4e1505a54b10053be2ffa885a23764"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit_component (cyclomatic 37, cognitive 55): visit_component has cyclomatic complexity 37 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/component.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"44066a07445de555fd0b276928ab57428bda9aa2a71f7aad8bb601bbe24e91a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculate_blockers (cyclomatic 36, cognitive 94): calculate_blockers has cyclomatic complexity 36 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c46aa52a21d90b0ec3ec28ae1a580eb10d3639f6c729c3d4200e0d956ae6118"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_expression_async (cyclomatic 34, cognitive 12): is_expression_async has cyclomatic complexity 34 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fa9f079c0ab50170fa3165b5db40619cb60ba6ecc2263e7720222416e535fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_attribute (cyclomatic 33, cognitive 51): read_attribute has cyclomatic complexity 33 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"94405eaab49a9ea412f7acc73f72dd3dd4e18b07d0df3ce1ed48335c4e47ace9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function to_style (cyclomatic 32, cognitive 79): to_style has cyclomatic complexity 32 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 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8891395fa223faf59b2ef88030e34546635fddfa8e325a583c409772ec18606"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle_identifier (cyclomatic 32, cognitive 67): handle_identifier has cyclomatic complexity 32 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb827e4a2d11da93758ac296f7f9122d8eef5943d196239b7ecf5339f6428e24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_possible_element_siblings (cyclomatic 32, cognitive 62): get_possible_element_siblings has cyclomatic complexity 32 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"1785ff04a594db374e0d4ba623e5381b348d1e5586655b5bd6e8aaa4677b2bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RegularElement (cyclomatic 32, cognitive 41): RegularElement has cyclomatic complexity 32 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/RegularElement.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bef663cd734993beac504611344dcaac1ae99340d6e1277a46b4599f17c12e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_selector (cyclomatic 31, cognitive 58): read_selector has cyclomatic complexity 31 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ec9f1134df623d50bb777836d41839f752e5b00d31fbf85da58abe0f8eb50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlotElement (cyclomatic 30, cognitive 65): SlotElement has cyclomatic complexity 30 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af635ddc774ceec473606453fc9dd12646dee81533a0c14a7070a1474a7e06c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SvelteElement (cyclomatic 30, cognitive 36): SvelteElement 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteElement.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bed30a92f2a51ad155a9bac1cbc46bbe0e7e01d206b102a28efe97c43b1da44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComplexSelector (cyclomatic 29, cognitive 74): ComplexSelector has cyclomatic complexity 29 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"36914e1d13496fb8c06b8428abc52f9d2e0cf8d439fcc22c809a632431ac7b10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 55): (anonymous) has cyclomatic complexity 29 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38235d207aea1e190ab7cb3acba4d51ed75878ad4869891c7be492d07bb1d40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CallExpression (cyclomatic 29, cognitive 16): CallExpression has cyclomatic complexity 29 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7873e96626ce9f37228aee1e6157a8e46e636497a95e811fb7c4df7cf5c589"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #commit (cyclomatic 28, cognitive 77): #commit has cyclomatic complexity 28 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c467939e47803bcca8e854e66e5f9715c2b427a947b1869d0668f665d1ad5a70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attribute_matches (cyclomatic 28, cognitive 64): attribute_matches has cyclomatic complexity 28 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"50470fe83624a735a0b67e9fb766a95f6506aa47cb59473c311e5fa64df64cd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_tag_valid_with_parent (cyclomatic 28, cognitive 20): is_tag_valid_with_parent 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":"packages/svelte/src/html-tree-validation.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99c5392ca5599581cc10eb2bbe22d288a047c424ff680d9f65ed87c7bdaaa4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_slot_attribute (cyclomatic 27, cognitive 60): validate_slot_attribute has cyclomatic complexity 27 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be44155443dc1530eb8dffd37246d8e70a4f2206decd2bc8a2cd5a314046b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_last_evaluated_expression (cyclomatic 27, cognitive 34): is_last_evaluated_expression has cyclomatic complexity 27 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d847c7a0deccdd57f8374304a60e4b15f07172ab736502c3af24f3db5d0071"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_aria_attribute_value (cyclomatic 27, cognitive 25): validate_aria_attribute_value has cyclomatic complexity 27 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 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a51c292d7043a518acf3cb2d7980c76cebad9930ff76b66d888f775d4dce683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LabeledStatement (cyclomatic 26, cognitive 55): LabeledStatement has cyclomatic complexity 26 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":929}}}],"partialFingerprints":{"codehealthFindingId/v1":"516852e6c5e81763c6927094b9199e1abfe818b5039b4d36db29dc07dcc226e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function gather_possible_values (cyclomatic 26, cognitive 49): gather_possible_values has cyclomatic complexity 26 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":"packages/svelte/src/compiler/phases/2-analyze/css/utils.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f9d6667da490099ebed6fc3ae54dfa55161be6453defc05034d1324a3b9567"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Fragment (cyclomatic 26, cognitive 28): Fragment has cyclomatic complexity 26 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c4fe53c179a3fa3e4b6e00f8a6f3a0ea20fa4c66268c0db7611d190ca74c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SvelteBoundary (cyclomatic 25, cognitive 48): SvelteBoundary has cyclomatic complexity 25 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SvelteBoundary.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85c7b68035b5797efcf8237264beea3a932c6943ddb96859eceee0175b8c075"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComplexSelector (cyclomatic 25, cognitive 42): ComplexSelector has cyclomatic complexity 25 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0de6fc952f849df95f7943816759deeda23c73bed20f06e6f4ce9c2256f6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clean_children (cyclomatic 25, cognitive 34): clean_children 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":"packages/svelte/tests/html_equal.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0652d4af79d1815cde7530c8451a530591af99279cc7abf159d311f7d78d4487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 31): (anonymous) has cyclomatic complexity 25 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":"packages/svelte/src/internal/client/dom/blocks/html.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"94da21c0a11c040c35b2beae3d5484c91219c90dc74f04d5d48b211cff9667bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply_combinator (cyclomatic 25, cognitive 30): apply_combinator 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3216d71777f745dff22d5d7be81c688546869abc5866bbb325bf3c9d6cbc10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create_effect (cyclomatic 25, cognitive 30): create_effect 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0978f3b2877683428e4596f4e4fd5f7b2b228edd638fd562152d13baf03eaa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function infer_namespace (cyclomatic 25, cognitive 29): infer_namespace has cyclomatic complexity 25 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":"packages/svelte/src/compiler/phases/3-transform/utils.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b928f633082736c96784f2fe095e08fa34198ed8f5826b29792d3af49d13d43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function internal_set (cyclomatic 24, cognitive 49): internal_set has cyclomatic complexity 24 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"28909dcfc5b694def063d802b8dbdaa233215fe8246536342920ed369db77801"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_template_chunk (cyclomatic 24, cognitive 40): build_template_chunk has cyclomatic complexity 24 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"caddb9a3d93bedf4f8f3b7b1aad52931927b9c02ac4230a099a912bbba3f847a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle_event_propagation (cyclomatic 24, cognitive 35): handle_event_propagation has cyclomatic complexity 24 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":"packages/svelte/src/internal/client/dom/elements/events.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3331c41b8fd09fe889d4f7588b60340f2e238a03b5ad7d0ec1223e5c5dc031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_assignment (cyclomatic 24, cognitive 27): build_assignment 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d439095f5e260bc2571442c2829da24e5976593fff2696cdfa02b7caa5a1a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitBlock (cyclomatic 24, cognitive 22): AwaitBlock has cyclomatic complexity 24 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 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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"97266d440421aae14d22a9426932a1e60d5bb0775b12bcb53e9672e74091cc72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SelectorList (cyclomatic 23, cognitive 72): SelectorList has cyclomatic complexity 23 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"532ffb8000bf6b2093309295b32d4c66fb6080c67f734e0c81daf5b38be5cf22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function log_derived (cyclomatic 23, cognitive 70): log_derived has cyclomatic complexity 23 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5658738f38ec5050ed381f21103fb99cd24596430b719654c966645d4190403"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function analyze_compiler_profiles (cyclomatic 23, cognitive 49): analyze_compiler_profiles has cyclomatic complexity 23 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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd62d9abfe97d5aea340778d9baa6320ae683892d7d7242f75075b09da6f8292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Rule (cyclomatic 23, cognitive 45): Rule has cyclomatic complexity 23 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"680c0d93cf8ad2cfce3ef149d6d02d78d8903e722e2afa4dab432c535989b7e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function concat (cyclomatic 23, cognitive 44): concat has cyclomatic complexity 23 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":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a453d6941b11b3382b971144eabee98cd521bc818ec6a1d0e16662c0ea8dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clone (cyclomatic 22, cognitive 49): clone has cyclomatic complexity 22 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":"packages/svelte/src/internal/shared/clone.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f434d5c1105bdec4447d91d24369fce062c545aa8b3e7896990c63f1315817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExportNamedDeclaration (cyclomatic 22, cognitive 43): ExportNamedDeclaration has cyclomatic complexity 22 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd24e4db9ff48f4a30018df795033e3085abb54413293faa820982fd5479d04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributes (cyclomatic 22, cognitive 42): attributes has cyclomatic complexity 22 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/server/index.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"2211567955071f2dc0808027c2e94d7b5cf171c0e55eba0dbae40ef0bcea3cd0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compare (cyclomatic 22, cognitive 39): compare has cyclomatic complexity 22 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":"packages/svelte/tests/sourcemaps/test.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2c0b4e09781d21153c504f0c32894c65ba82d1d4c18a09d175f6df921f7cc8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #process (cyclomatic 22, cognitive 37): #process 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d2a8f0d478a30177cc1fdd1d6c32e64e4d53d1d8848988cdea32cdf15ec4ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_assignment (cyclomatic 22, cognitive 35): validate_assignment has cyclomatic complexity 22 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"665e9164479ef2fc9d4aaecc12d2f61db04a46d94a355d1dcbc2ec8936731b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extract_type_and_comment (cyclomatic 22, cognitive 29): extract_type_and_comment has cyclomatic complexity 22 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1602}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ead2f46c0c6e605d23fe876660fae05e6723d6fbc994bc0280c5cddac96507"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_value (cyclomatic 22, cognitive 22): read_value 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"417cbe6f30fdc18597acc1cf834c7d20e5c558429c10204a4527dc9e702145e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _extract_paths (cyclomatic 21, cognitive 52): _extract_paths has cyclomatic complexity 21 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c612f50eda06ebef8c05d5060686a748472153ddec9488d1066d1100ccd3a0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassBody (cyclomatic 21, cognitive 31): ClassBody 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/ClassBody.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50761e832e00a30daf703c2811d022a309a33ceacfd39fee89c7ebbf0de8406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EachBlock (cyclomatic 21, cognitive 27): EachBlock has cyclomatic complexity 21 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/EachBlock.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4531f7845b956b9c5c06ac80d99cb1a4bc11a4415c3b6b2ee9a8c45c438bf191"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Attribute (cyclomatic 21, cognitive 26): Attribute 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Attribute.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f04ce6ef3d1c6021fbf297ec69993db00e247af3546175439b68fb68dadb7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CallExpression (cyclomatic 21, cognitive 22): CallExpression 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2e358846054bcc4c4b2d3a94fc493299612ed6e797683b330e9edd520324f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function next (cyclomatic 20, cognitive 45): next has cyclomatic complexity 20 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"c854fa724973b362d799ef4e0ce4c7de87cc2e28543dfcc520adad9ef4a0b32d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 20, cognitive 25): visit has cyclomatic complexity 20 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cea24af98aaf3788a94c61ddb81219ee8f1b8e4961d90c250cdccb3e6da4d6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function should_proxy (cyclomatic 20, cognitive 9): should_proxy has cyclomatic complexity 20 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a5562699db89758e59160836756b9765797336061ab2dbf5650686a96b6648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LabeledStatement (cyclomatic 19, cognitive 52): LabeledStatement has cyclomatic complexity 19 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LabeledStatement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09f3e8349ba99c16e6676c15af57a694382a098375b84ae84624d21b34eebdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compile_directory (cyclomatic 19, cognitive 42): compile_directory has cyclomatic complexity 19 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/tests/helpers.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0f2fbddc5e5f2af4e7538fb8e62e1cda2d93fa33cc6ae2ff678d1eaed04d08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_detection_maps (cyclomatic 19, cognitive 35): build_detection_maps has cyclomatic complexity 19 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fade12848bd9882c4b4295d9324241ee3e2a07f26baa7f2866677a74780f3476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update_reaction (cyclomatic 19, cognitive 28): update_reaction has cyclomatic complexity 19 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"994b645ededcadb20604442f9194753b6256460c6bdc17b0772c151cb3ccedc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prop (cyclomatic 19, cognitive 24): prop has cyclomatic complexity 19 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":"packages/svelte/src/internal/client/reactivity/props.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a880833ce4a860415924e691cb107088b7f86d5cb646e3c38e4be1dd1a21f185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_custom_element_value (cyclomatic 19, cognitive 23): get_custom_element_value has cyclomatic complexity 19 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":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"63933c6224a7d4123ec36cd279921c0fcf5a2beb200844b4af442b43066ec0b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SvelteComponent (cyclomatic 18, cognitive 32): SvelteComponent has cyclomatic complexity 18 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f4529472aca3920d56dd1dad88f5d706b8bf16d20fa0a5190e842fffa0b54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ (cyclomatic 18, cognitive 27): _ has cyclomatic complexity 18 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":"packages/svelte/src/compiler/phases/1-parse/acorn.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf5853b520e9a8d40df5fe38d00378fb6fe14ac25f27efe43e61ee303224fd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SvelteBoundary (cyclomatic 18, cognitive 22): SvelteBoundary has cyclomatic complexity 18 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/SvelteBoundary.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"615a36fbf6b69a0df861bbf5e59896b15ae539d9c0e44e5d7153314503ad654d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function log_entry (cyclomatic 18, cognitive 22): log_entry has cyclomatic complexity 18 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":"packages/svelte/src/internal/client/dev/tracing.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8101a502e6a2b6c63da69c9a80ed0f8a42f01839472992fdb3ccf6df503e29c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find_descendants (cyclomatic 18, cognitive 11): find_descendants has cyclomatic complexity 18 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":"packages/svelte/src/compiler/phases/nodes.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f5368c82e1d39b0bd29edaed3cd35936a2cd611f3b679062ac9d8b588d8a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush_queued_effects (cyclomatic 17, cognitive 46): flush_queued_effects has cyclomatic complexity 17 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc262d364f45e856e38a7e69a23c68cd5834493624e375278f93b694cafe42c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle_events (cyclomatic 17, cognitive 45): handle_events has cyclomatic complexity 17 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"782e559cc7799be383982d3253691196a90b2c950948fd57701212be1215445a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_ancestor_elements (cyclomatic 17, cognitive 33): get_ancestor_elements has cyclomatic complexity 17 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"59720349a3f099d972e9df0feb88afe40af06b947fb7576fa47990333920518a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_attribute_value (cyclomatic 17, cognitive 32): build_attribute_value has cyclomatic complexity 17 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bd64decf17ad2ce8830352b6b1f45a3f4cd28b1667edfc8a9ab222d9d3c69f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set (cyclomatic 17, cognitive 29): set has cyclomatic complexity 17 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca793ab118c65542d97b338edaaff1cd389d7f8bbd3e16a621d1fa4bd731456"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 25): (anonymous) has cyclomatic complexity 17 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":"packages/svelte/tests/server-side-rendering/test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5dd204cb19a8c359874ae99012af08253019af94812404ed39458e6d295a0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_prop_source (cyclomatic 17, cognitive 22): get_prop_source 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":"packages/svelte/src/compiler/phases/3-transform/client/utils.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a094d5229d9f8312ceaec3ceade0d1107aef725477e3d4d08c06375e283ac4cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SnippetBlock (cyclomatic 17, cognitive 19): SnippetBlock has cyclomatic complexity 17 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768b58c9b901a564c970d831b922cc9ab0c146db0952a8020456670bc77ab5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set_attribute (cyclomatic 17, cognitive 18): set_attribute 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b876189caace8ccf475f025f336edcc174c70dd3b316fca9d44c3fc39c491e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 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":"packages/svelte/tests/hydration/test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c171432fe89adda5454d8ef4da0e20f64977930dc95bc742e38dd885377ef8a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LetDirective (cyclomatic 17, cognitive 10): LetDirective has cyclomatic complexity 17 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LetDirective.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47929c41fca9f889df0c144a04cae8e293403c11b873dcdbfc0b937c9ed5f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function to_class (cyclomatic 16, cognitive 35): to_class has cyclomatic complexity 16 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":"packages/svelte/src/internal/shared/attributes.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ffb624e072edb65d853d5ce8b637cde96f1109e026cbb2f2b367d07e70cc05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectedCallback (cyclomatic 16, cognitive 32): connectedCallback has cyclomatic complexity 16 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":"packages/svelte/src/internal/client/dom/elements/custom-element.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6812e883ea449adff977fe7e0d9018b7c02fb5b5369b6212b708a61639ccf2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IfBlock (cyclomatic 16, cognitive 26): IfBlock has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/IfBlock.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c452fe1d58051615204a844c277ed12005329f110974828200484b0503ee7316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process_children (cyclomatic 16, cognitive 26): process_children has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cc33a650038e33fe0b68f19ee71b5335d5e058dfc8fda55c436ce0744b81de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deep_read (cyclomatic 16, cognitive 26): deep_read has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"877a409c3c5e6a3d70f45589aaf7621476b20982495305b00a38d2b3902e3c42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function #traverse (cyclomatic 16, cognitive 25): #traverse has cyclomatic complexity 16 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e0f000e643c7b45a54e932c3531c69734e9fe403c2820c0917573d743ad26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_mutation (cyclomatic 16, cognitive 24): validate_mutation has cyclomatic complexity 16 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceec5dfdc170a4cbb470cb8249598742f2dc066731aa7be6875cf470ffea2d81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mark_reactions (cyclomatic 16, cognitive 24): mark_reactions has cyclomatic complexity 16 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":"packages/svelte/src/internal/client/reactivity/sources.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e1353a4dfc0191c0532aeae14104c31440b2688f259746db5917c7bd4133a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_profile (cyclomatic 16, cognitive 19): read_profile has cyclomatic complexity 16 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":"benchmarking/compare/profile-diff.mjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"478ccfdf6da7716ec52e4988c42893e9c3ec2fa2a9c1562654c15f487e06b353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_attribute_value (cyclomatic 16, cognitive 18): read_attribute_value has cyclomatic complexity 16 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf1e29d8fd5b4e65a3bfe339e507880eedc2f84a4762d9105f4e29a02f80c2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transform_template (cyclomatic 16, cognitive 18): transform_template has cyclomatic complexity 16 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-template/index.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4159aef379e35b38a66fa00fc98d5fe163456034721e1c142b0d674a2f11c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ClassBody (cyclomatic 16, cognitive 18): ClassBody has cyclomatic complexity 16 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/ClassBody.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5417a16b74e59f3f71781e78ebb1c5efe1dcb8f18249f3e13170a0fb622b2a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function log_effect_tree (cyclomatic 16, cognitive 18): log_effect_tree has cyclomatic complexity 16 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"32af6e8a19fd2d479e57cdd7169f72d7ea3a67f0dc62878968ffa8b44721c1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_code (cyclomatic 16, cognitive 15): validate_code 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":"packages/svelte/src/compiler/phases/1-parse/utils/html.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"009c4aa7ece40686bf2cfb4a13301c583e01f05ed2619ae7e0ac3940dd234bc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_customizable_select_element (cyclomatic 15, cognitive 28): is_customizable_select_element has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/nodes.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e619f35a4e5cb62c540bb5f568c7398e72db3ad7d34e708f82225740363b10fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitBlock (cyclomatic 15, cognitive 27): AwaitBlock has cyclomatic complexity 15 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"b777154ca364c4f76803e42d7cacd1804dd0f1a941c004b89de180b3933dead8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transition (cyclomatic 15, cognitive 25): transition has cyclomatic complexity 15 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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5036026e65b7712efcb2767f3a36a96a7e527136ab33fc8d4f0f9434804d5405"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SvelteElement (cyclomatic 15, cognitive 23): SvelteElement has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteElement.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ea2a18572faba30fe0aa20e807b5569b86352ade385d940aea08f3979a53bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_pure (cyclomatic 15, cognitive 22): is_pure 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c30569c7ce702916e827bde46f8652db0f000d435770002b5db89badbe47cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit_assignment_expression (cyclomatic 15, cognitive 22): visit_assignment_expression 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":"packages/svelte/src/compiler/phases/3-transform/shared/assignments.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"82590f7ef3bb3c2c36ec008f364588e62bcbe06dace64e365ce826f31e1e52ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_attribute_effect (cyclomatic 15, cognitive 21): build_attribute_effect has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c1b35c348d7f63414c3b13bb4aa5b02d99b88ef1d4b815e062bc929d03345f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_static_element (cyclomatic 15, cognitive 21): is_static_element has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71b4fadf84281d40317775e9ef9710d74922cf269aa00adb579fe4a9ad502b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitBlock (cyclomatic 15, cognitive 19): AwaitBlock has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/AwaitBlock.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5bfcdd6707f7bc2918e6b4794ea5d48647c266d8ed420d417b203c361a9f3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_set_class (cyclomatic 15, cognitive 18): build_set_class 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9078191f2cd3950e8c2631581bdf628f46e5514b6d632280e02da3e51406ec84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) has cyclomatic complexity 15 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"00eed622d075afa905ede502e2c3bb6f0d8b5cc98e3c49cbc6d236bb1c638125"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_event_handler (cyclomatic 15, cognitive 14): build_event_handler 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/events.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"736550e70d88912e07d623c0ef581be3fbe336b4aa06ded32e148b2784900236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_bind_this (cyclomatic 15, cognitive 14): build_bind_this 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"059ff4f7f6e362845b3d9eeafe46f191767d1cd7bd88d773c5ffd04f479e709e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RelativeSelector (cyclomatic 15, cognitive 13): RelativeSelector 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"158e39afb72147c60909c4bd9fbb391b47eac3635fb4116b9188c5241b4f5495"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_possible_nested_siblings (cyclomatic 15, cognitive 12): get_possible_nested_siblings 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf456146b6b5e9b869096f02e1086f5593d13f8df0aa96590d0bdadd99de0fc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function migrate_css (cyclomatic 14, cognitive 27): migrate_css has cyclomatic complexity 14 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e1e6c06ef5d2977744cec68a8d23b6dcf4dcebdd03769f67f088a145b3cf14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SnippetBlock (cyclomatic 14, cognitive 26): SnippetBlock has cyclomatic complexity 14 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SnippetBlock.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c60e8dd71942986165a68fc34a8d528ab04cd731b54a572393c1c0752760a6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find_matching_bracket (cyclomatic 14, cognitive 24): find_matching_bracket 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":"packages/svelte/src/compiler/phases/1-parse/utils/bracket.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbaf5e9b391e62d998a12f5e1fa69ef88b2b906a212aed0e5f48d93dec862eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Program (cyclomatic 14, cognitive 24): Program 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Program.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9476c67f06f31faefb506f4c373bae6a6eaa7758ba36629580db0cbd5f07f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitBlock (cyclomatic 14, cognitive 21): AwaitBlock 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitBlock.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2c026397594b7e24f5b67b81262ccd7a437eaeacc86f3b5d0aebb6123855c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_declaration (cyclomatic 14, cognitive 18): read_declaration 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b8a209056b1dc663e280002ad0d68b1d120acb0baafd9cc517040b897460b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) 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":"packages/svelte/tests/sourcemaps/test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d069c35862fbfeb42b0645b3b11baaccb0c9c3607837e0d2327c24b4bc333"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decoded_sourcemap_from_generator (cyclomatic 14, cognitive 17): decoded_sourcemap_from_generator 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":"packages/svelte/src/compiler/preprocess/decode_sourcemap.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"462ed993b2d225b1c213875dd526f89404a27201d244b5b666abca00e45725a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply_default_select_value (cyclomatic 14, cognitive 17): apply_default_select_value 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":"packages/svelte/src/internal/client/dom/elements/bindings/select.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca949e0d4b11b24335b99c62c64a2a9b4789f049106a40ed920e667b430d682"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function log_branch (cyclomatic 14, cognitive 15): log_branch 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d59d6afc6a36753a9f94799315b513fddf28744e26d78115efb9c39ea3228c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_element_attribute_update (cyclomatic 14, cognitive 13): build_element_attribute_update 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf50b68754334ea204d5e3337ab4381e0b0b269b2940ae5ea93a3a79c616b5a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escape_identifier (cyclomatic 14, cognitive 13): escape_identifier 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba7a30227ee24657049168777d5434c367042ea84fa33c6e7d94daa6e0bd956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 11): (anonymous) 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d8150e3537c5ed4f125ad60b88119ac16d3b48150a292176d61ef1d7acbd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build_expression (cyclomatic 14, cognitive 11): build_expression 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a99ffbbafbbf0d3c7a0969cb6aed0c5feda5f8d6279604a1061b0cd4b5dd6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 28): (anonymous) has cyclomatic complexity 13 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":"packages/svelte/src/internal/client/reactivity/deriveds.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca050d0651d522ec909856268864e64f2d809826336d024bde23e32ccf55ced"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generate_report (cyclomatic 13, cognitive 27): generate_report has cyclomatic complexity 13 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":"benchmarking/compare/generate-report.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffa044dc0769531a06dfc8fdde1c55d8b028e5b86a8eb2024f57a1327e8769b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ImportDeclaration (cyclomatic 13, cognitive 27): ImportDeclaration has cyclomatic complexity 13 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c0abfbfc5fb1b42e2a2ad1f4a235e6c3088167ee183338e4602f2f17030e5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Declaration (cyclomatic 13, cognitive 27): Declaration has cyclomatic complexity 13 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"72491a94081d5aa11e52c07261379dad505f87b57d663c76e36f14d44db799a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 26): (anonymous) 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":"packages/svelte/src/internal/client/dom/blocks/svelte-element.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21fc6741d7338225ed8c7644d9cfceebde9e158aca3f168b49a04a5b438a18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate_no_const_assignment (cyclomatic 13, cognitive 24): validate_no_const_assignment has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdddfe302132b9cd272034de6da25ffd81e7bc59ad0e23e988594df2d011ef51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SlotElement (cyclomatic 13, cognitive 21): SlotElement 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/SlotElement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e4dbf5982f292036465de231ae243a19ebcb1c5e23b7379e3b045701506bde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 21): (anonymous) 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":"packages/svelte/src/internal/client/dom/blocks/branches.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"450dd9af606d917baa4365bc496ba9872c4b81c7c38802555f652ad1ce1c5601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loop_child (cyclomatic 13, cognitive 20): loop_child 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0ed81960eaa0e22a04355bc1b9e26dd2f6a46a977d54c1b91898b571f387b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_type_names (cyclomatic 13, cognitive 19): get_type_names 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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d8da737eff60556f8eb29173fe7103203d38774d9d8765a9ec487e2f5f246b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Rule (cyclomatic 13, cognitive 19): Rule 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"151f0808f3e25c0ab9b84588357f8887589d9358c08548bd75db216450ab6097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 13, cognitive 19): apply 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"95146309b5fb294d92a42259094da8649fdcb6e060f81dd0706c3f10c78a3d3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function special (cyclomatic 13, cognitive 18): special 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc1ba73dc40f7a9b502fccffb91d37629ddb88ce5c72d5ec26126aea69340f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _ (cyclomatic 13, cognitive 18): _ 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"722c472ed502351a0a9aad1340a6cfe8521cafa7b57cb2a1dc8b123d3468db7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function objectify (cyclomatic 13, cognitive 18): objectify 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-template/template.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca529931e0d7cbf1414dc8b5ba458cc027559dd6d43b3803c29d49a5a0241315"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set_class (cyclomatic 13, cognitive 18): set_class 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":"packages/svelte/src/internal/client/dom/elements/class.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3ce4fb952681c1534212dc4f9cdf1ca124657611e214532de76a9abc0010a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function match_bracket (cyclomatic 13, cognitive 17): match_bracket 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":"packages/svelte/src/compiler/phases/1-parse/utils/bracket.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"866073554ce35915db5063b8c33dc0bae4bc3ab2fff1804ab8eebaae4fff68c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HtmlTag (cyclomatic 13, cognitive 15): HtmlTag 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/HtmlTag.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e8b42371b541eaffad612259f827e45a6ce93cc7803fe48144010e12476509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update_effect (cyclomatic 13, cognitive 14): update_effect 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46c0146ce51109a40cd6fb910b7ff9fcc1a0fb3b047689503d74813f9deb76f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UpdateExpression (cyclomatic 13, cognitive 13): UpdateExpression 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/UpdateExpression.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecb75995ddb970c19aeec4899ac3bf256bfb6e4ae93ee834720094825d3cbcd"}},{"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":"packages/svelte/src/internal/client/dom/elements/bindings/input.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068475e2e8ca17da8526304fe7d2a64e3c81a179c2cbd55767b3446f76dc6b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function animation (cyclomatic 13, cognitive 13): animation 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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5dc8653a7eac3ec536dbfe5bcb4d30ed6bb6dc70172531ae38b6fd130ea0150"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LabeledStatement (cyclomatic 13, cognitive 12): LabeledStatement 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"046500881435167398989203abe699b9a9162af72ab02e5deec358385077bffa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extract_svelte_ignore (cyclomatic 12, cognitive 28): extract_svelte_ignore has cyclomatic complexity 12 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/utils/extract_svelte_ignore.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ff6f6f8f8bf890677d27e653994d7ea8a83d79436882f73e9431084257869"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fragment_from_tree (cyclomatic 12, cognitive 23): fragment_from_tree 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":"packages/svelte/src/internal/client/dom/template.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce71f781f5bf4d9bae4257a4e7c6eb5ffc448786c0bd6c4f50ff5c49cd4b2f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function read_script (cyclomatic 12, cognitive 21): read_script has cyclomatic complexity 12 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":"packages/svelte/src/compiler/phases/1-parse/read/script.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f9f5e6ca7a09e8d8399bb55a1527048d1d099d6dc5e360b041921698bec63d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update_dependencies (cyclomatic 12, cognitive 19): update_dependencies 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"45616d0049de4e548f6feb2dd9d3b2116715e85d25103ca64606e20ceee591da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) 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":"packages/svelte/tests/compiler-errors/test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c06f838cb1a901b3f470aa9766e28816bace698733d7f76a2248ace7c4803"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_tag_valid_with_ancestor (cyclomatic 12, cognitive 18): is_tag_valid_with_ancestor has cyclomatic complexity 12 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":"packages/svelte/src/html-tree-validation.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca0f5134a09f8851e978b0fba6e64cb9815ebe2da77502dff2e3aee8c3f8a4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_global (cyclomatic 12, cognitive 17): is_global 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b922b2027886007b1ffee81cabfcc5f66343ed17767cd06af02370cfec1850"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 17): (anonymous) 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4ebecd3323db2086cb00c0d574478e0dc6f278257669696be954c204aca5f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pause_children (cyclomatic 12, cognitive 17): pause_children 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b636060ea5150c072a66b0535ba61790bce4afc09f588bf03fc11b1cf2662a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Identifier (cyclomatic 12, cognitive 15): Identifier 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Identifier.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13e3eb979ceaa955ca5762dede4ae67f1743fa00cdd992b24a67a5d4382de74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume_children (cyclomatic 12, cognitive 15): resume_children 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b236f021271c3b4ec71e18a22e36709a34abb5dc211c8dfc67bc0a6883919c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) 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":"packages/svelte/src/internal/client/dom/elements/bindings/input.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"31624373097b3a8666242c92baf9a0313fa6a2b07654e1a03fa5389bced24ce9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 13): constructor 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":"packages/svelte/src/compiler/phases/1-parse/index.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4546869bed8d57d73f360644afda3ac2f33d945892bd89cdb6336d28d1ce65d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_interpolator (cyclomatic 12, cognitive 13): get_interpolator 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":"packages/svelte/src/motion/tweened.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aeb0fbe59f6ff942b7a692e2e0937fb216c093faa36a00155ec65a8234e8245"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroy_effect (cyclomatic 12, cognitive 12): destroy_effect 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"605a79714cc028d46d0d9b0d50865412e63ab8a37041bd87c7be276c33845d00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function effect_label (cyclomatic 12, cognitive 11): effect_label 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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c337eb96286d15a4363eff91d13d9c53b20d76b790c29c3d4351ed99782ed1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set_custom_element_data (cyclomatic 12, cognitive 11): set_custom_element_data 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5cf807ac34963925811e4d3457afe30c9bae6d2eb527778913ddc4b625a042"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function common_setup (cyclomatic 12, cognitive 11): common_setup 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":"packages/svelte/tests/runtime-legacy/shared.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc15ccad5a3f01e5706e3e7fabe41dac6a25b2be88b40586f997b9bf2e1dff45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function has_content (cyclomatic 11, cognitive 22): has_content has cyclomatic complexity 11 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d910e2bf3527b91a0f800194c5fbbea472f97f22a0ed93258b2e4cf7f1f8fe3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensure (cyclomatic 11, cognitive 22): ensure has cyclomatic complexity 11 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":"packages/svelte/src/internal/client/dom/blocks/branches.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d0e37fd0d8af09156b3aa4110b410d69f512f92acedcd843cd73435a7600ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Text (cyclomatic 11, cognitive 20): Text 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Text.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca6dcbab66a58c16168acd3fce1d205c647d5e3ac17ad78c9353cc83dbf7ae6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitBlock (cyclomatic 11, cognitive 20): AwaitBlock 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2762b7c3b16400b328e7835cf03c4307e05ebbb1463304cf3d3595af171656e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundary (cyclomatic 11, cognitive 19): boundary 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":"packages/svelte/src/internal/server/renderer.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa904e5eaed2a45ff97adac2ca2931416ee44bb0807b17ce609f99eedb5448a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PropertyDefinition (cyclomatic 11, cognitive 18): PropertyDefinition 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/PropertyDefinition.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb3ca2f37be7c0e6e7dc52603c79c689d122d8be0d998a339f94573c83de540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) 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":"packages/svelte/src/compiler/validate-options.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b72f81cb75003dfa91f4d6bc1eddf70dc87d6ba33a1c7eff8fc34a12b8528a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function is_empty (cyclomatic 11, cognitive 17): is_empty 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6272c727c379e2e18c7529084c4991eaf0e3212b18cff9ed69e76fc4460fef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remove_reaction (cyclomatic 11, cognitive 16): remove_reaction 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efb9de56207852f30286920c312e04463213301a65bb6eed92a3dec0c49c747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skip_nodes (cyclomatic 11, cognitive 15): skip_nodes 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":"packages/svelte/src/internal/client/dom/hydration.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"182ec42c39f53ebf9f87948615b26bc0f7bf4115dcc9d0563daf2fb6560878c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke_error_boundary (cyclomatic 11, cognitive 15): invoke_error_boundary 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":"packages/svelte/src/internal/client/error-handling.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c41439567d279d2c35124814168f14194c6a7c0febb3f0f61feae51f602ef1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) 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":"packages/svelte/tests/runtime-browser/driver.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9352eb242380c1d1a8596048dc66ad92904cba0b3976a5caf2aa35f574088"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 11, cognitive 13): handle 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ClassBody.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a6be6e46ca3ae9dd6b867326db533e224f09ac9207bf00093c1dc72e827524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrate (cyclomatic 11, cognitive 13): hydrate 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":"packages/svelte/src/internal/client/render.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c8e4046d9da23a49a061915fc6024b38e1d9137664809bfbed15501271db97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AwaitExpression (cyclomatic 11, cognitive 12): AwaitExpression 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5260e7a565f14e4da7317ded3fa0a536105cfe15bead9dd2f35c60f5c9a767fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unwrap_pattern (cyclomatic 11, cognitive 12): unwrap_pattern 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f419d40dd83c39ccf86467864a9d1c25825c0f2945dc4d9c6724f3523517e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function has (cyclomatic 11, cognitive 12): has 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af5796425b7b3ab9589eea1137d8f386ac8c8193270de1c00c90e752487ad52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalize_profile_url (cyclomatic 11, cognitive 11): normalize_profile_url 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":"benchmarking/utils.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"50676622ed732ffe548872feb40cdeb77a9df60f8d2aabfa355e3ba1cb0c6e4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EachBlock (cyclomatic 11, cognitive 11): EachBlock 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e006a65368e0e1c25c480e264033c3cb51003121fe4c359bdcb55f39e572f217"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxy (cyclomatic 11, cognitive 11): proxy 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":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df876ea4f03b038171a0760f653370e1c4f3f9027094b9aa95ab9a111758c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function IfBlock (cyclomatic 11, cognitive 10): IfBlock 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/IfBlock.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab9aabaf183aa4ec2c7a56a32e0e2084ba0d6817f1637dae44ad327bceac33c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare_element_spread (cyclomatic 11, cognitive 10): prepare_element_spread 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c9d869b7072c2f486630e51a9cd4a7329e69ee696627f21c8cc4761056057d"}},{"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":"packages/svelte/src/legacy/legacy-client.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a3b3b59ce75fe8d4fe6aeec75fdff11ae1032e1a8d021373a1b6fa5344e4fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function get_directive_type (cyclomatic 11, cognitive 9): get_directive_type 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5053928089b169a3f6cf6d5cf91ee86dba88c00282bc98207b26f0b8a7bd02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 11, cognitive 9): close 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"585f38657e627ac36c3674c0f72187fa32ba9fbefa6fe1540ad7e817428ae2c2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/migrate/index.js: 1829 lines of code: packages/svelte/src/compiler/migrate/index.js has 1829 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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c01388c0d6e4ee727f02b5f98298847a4a1cd5f31bf4d585d6a5346327d524"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/scope.js: 1316 lines of code: packages/svelte/src/compiler/phases/scope.js has 1316 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":"packages/svelte/src/compiler/phases/scope.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03a734ae7f9bcc2ac89b25d278bd4cbf29c468728bd1248e9e60fe42846bd4f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/2-analyze/index.js: 1206 lines of code: packages/svelte/src/compiler/phases/2-analyze/index.js has 1206 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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76d5c0c6fabd5244a0ed83ac6921718ca2e9f593e489d4ebda47f227069b0e0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/reactivity/batch.js: 1192 lines of code: packages/svelte/src/internal/client/reactivity/batch.js has 1192 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":"packages/svelte/src/internal/client/reactivity/batch.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05246fca670823f36eddc3f5f59449750e6f14a12d92c57482d16af86e2edefb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js: 1082 lines of code: packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js has 1082 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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fda3b0fc1b57d5cf38cbf55c83897ab11f8e0b4103963fbf2f390bfec2768cb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/print/index.js: 950 lines of code: packages/svelte/src/compiler/print/index.js has 950 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":"packages/svelte/src/compiler/print/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55496010d766176f9c51806219b7263954279394a3dd8db3ff1eb9706f7b998e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js: 920 lines of code: packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js has 920 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":"packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1607317e790ca7342d46a2fe2c709f504b7af231e279785134c8ab168c68233"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/server/renderer.js: 875 lines of code: packages/svelte/src/internal/server/renderer.js has 875 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":"packages/svelte/src/internal/server/renderer.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b95fa7f350c8285bed4b653768ed0efb8680b739d1c0f0d9dca041a4f3163c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/1-parse/state/element.js: 847 lines of code: packages/svelte/src/compiler/phases/1-parse/state/element.js has 847 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":"packages/svelte/src/compiler/phases/1-parse/state/element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e90f5b3ef33f14e7ad2cdbb5f65441d712f4ab90c2de00a462a3fb795d5b78"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/scripts/generate-browser-support.ts: 781 lines of code: packages/svelte/scripts/generate-browser-support.ts has 781 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":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"faebf19c18417ad1f3bdc62b1976f2db86a969c812c78c3f3e235c58bf539956"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/runtime.js: 743 lines of code: packages/svelte/src/internal/client/runtime.js has 743 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":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eabad668f05499fe9bae21ea908327bc492d954815e418723adca1bf71dda22"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js: 705 lines of code: packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js has 705 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c139dfade4d487e494f31a81b23e8a253821974e56af15e332bed03910b09c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/1-parse/state/tag.js: 698 lines of code: packages/svelte/src/compiler/phases/1-parse/state/tag.js has 698 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":"packages/svelte/src/compiler/phases/1-parse/state/tag.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a30071cb1e6469afe27750f256170564c98789c3210f8540228d17b4b87224"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/reactivity/effects.js: 657 lines of code: packages/svelte/src/internal/client/reactivity/effects.js has 657 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":"packages/svelte/src/internal/client/reactivity/effects.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d57b5d6785ff05af70f7f85859e06d375fce8a1e7c496a3ca44a7143ddb0e6f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/dom/blocks/each.js: 640 lines of code: packages/svelte/src/internal/client/dom/blocks/each.js has 640 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":"packages/svelte/src/internal/client/dom/blocks/each.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5191410842988ffffef2dcbd3e0c59e6e62579da408227fd9016624520a09ff0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/utils/builders.js: 627 lines of code: packages/svelte/src/compiler/utils/builders.js has 627 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":"packages/svelte/src/compiler/utils/builders.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375e8347bbbaf02cc0c9ae578a751f28512d86a35e86ba3de58d0f227162fee2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js: 619 lines of code: packages/svelte/src/compiler/phases/3-transform/client/transform-client.js has 619 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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d395b8525d7dc3d23406466995c0a563b7d50f0d2bc5ac501dd67b922da4d74c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/dom/elements/attributes.js: 615 lines of code: packages/svelte/src/internal/client/dom/elements/attributes.js has 615 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":"packages/svelte/src/internal/client/dom/elements/attributes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b7cee15e1eaf8ebeaca08ab589b3984f7a687194ab57ebba8dc88280655926"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/legacy.js: 598 lines of code: packages/svelte/src/compiler/legacy.js has 598 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":"packages/svelte/src/compiler/legacy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64ffb4b699bc63b3d977bc926d42c41937fab7b497550bb08153da3eaa93737"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/1-parse/read/style.js: 593 lines of code: packages/svelte/src/compiler/phases/1-parse/read/style.js has 593 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":"packages/svelte/src/compiler/phases/1-parse/read/style.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"271aaa2756ed89fea28bb2834474d3595c2f24d53b6c7d36dff20f49cb3a073c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/utils/ast.js: 570 lines of code: packages/svelte/src/compiler/utils/ast.js has 570 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":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf9b1d9242d077decd53dd6248e3f0a84374b7a31d59b7c5edf07a5ef804a73"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js: 517 lines of code: packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js has 517 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":"packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02280202fbdc6e81ce3aa823a2c6723b47b15cffc159735bf4fae91783d699a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/dom/blocks/boundary.js: 492 lines of code: packages/svelte/src/internal/client/dom/blocks/boundary.js has 492 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":"packages/svelte/src/internal/client/dom/blocks/boundary.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d45f2974ad70ad747052d4063363f704af65099c7452e65d38caea2ad585c0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/server/index.js: 486 lines of code: packages/svelte/src/internal/server/index.js has 486 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":"packages/svelte/src/internal/server/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ca4a4adc2d70792138e31106e345cb05abd6f0e10d3b55e290d138b3219e07"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/utils.js: 467 lines of code: packages/svelte/src/utils.js has 467 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":"packages/svelte/src/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bd69650262af5bde047fd6afef470595687ef9e66a8c25da3463233fae1d05"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js: 452 lines of code: packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2f4c95423cb3add184296a7cae60fbe8f58a330742a8353b5f7ea0fa7ff447"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/dev/debug.js: 452 lines of code: packages/svelte/src/internal/client/dev/debug.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":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd57466396a102b65b0903e39db126fd2e82e50991456b4281f23a498870a918"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/utils/mapped_code.js: 444 lines of code: packages/svelte/src/compiler/utils/mapped_code.js has 444 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":"packages/svelte/src/compiler/utils/mapped_code.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4136b8572bd5354eeb2aecba285e1ddbb371898ce7be6bf33de1c245e15457"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js: 435 lines of code: packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js has 435 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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecb0341205019834a09348263b5256444ce74a032f4442ae8fd56584357c3b5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/dom/elements/transitions.js: 429 lines of code: packages/svelte/src/internal/client/dom/elements/transitions.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":"packages/svelte/src/internal/client/dom/elements/transitions.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6eaba480ddcdc6781d071ce932f637900b573c8fdd9478accb55a9fa5e0097"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/compiler/phases/3-transform/css/index.js: 419 lines of code: packages/svelte/src/compiler/phases/3-transform/css/index.js has 419 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":"packages/svelte/src/compiler/phases/3-transform/css/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf9883cf421cad1562a76e64135ebb7c260837253cfcaa40f3fcc96b70ef5d8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/svelte/src/internal/client/reactivity/deriveds.js: 414 lines of code: packages/svelte/src/internal/client/reactivity/deriveds.js has 414 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":"packages/svelte/src/internal/client/reactivity/deriveds.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a9166980d10ecd59e48375b6564243046b20299e948d89a5ff1713ddce521"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/attribute-sequence-expression/main.svelte:2 imports \u0027./Child.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/attribute-sequence-expression/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3745db161c19676eeda473493f3b2c11f90b16e818a3dc4c6bc9255d45fb7ecf"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-2/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"811bcef688aa360c6b079e9b6b2cb20089a16094c41b1b7813c8d7fa466e6e2a"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-3/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc42ac21edffd8e758306b40ddc60c0ea00ea5e1dbf2d3b63f3348dbdf114ec"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-4/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c254242d7b30c03c607ca524fa4ff40a97b8b763b7fa5fd7328764c4bf5ef8bd"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-5/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-5/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cff80af68b14dcfae7b2b3476caed6e04ddb09108aee576f604e1a0aaf4e138"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-6/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error-6/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb3daae28b6aa5568c217d4fd86122ca110e3a55bcf1e76752d8603323796dd"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-duplicate-error/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbec7bae44017d04c0da5cf8df35689536f4f9585595ebd51c14c7ed6dac4f99"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-nested-error-2/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-nested-error-2/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60da48c4ccd983a596be5c8b0537f83923200ad7e0303f799f8683d7dd2f7cf"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-nested-error-3/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-nested-error-3/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd97e39f201d599a10883234473c11ba1eeff2f61afef754e54f7185b33cfb53"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/component-slot-nested-error/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/component-slot-nested-error/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"75dbd2ced8a3167aadd9cd68b5df5810ddc3727cc4420cd8d99dfa6fd14abf47"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/dollar-binding-import/main.svelte:2 imports \u0027./somewhere\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/dollar-binding-import/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6921a54ec52458b77dbe33f33764a79c63cb0f75b5ea94db45c94dff4d43ede"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/let-directive-children-snippet-expression/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/let-directive-children-snippet-expression/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9b5019cce8f229b8915bb2881864943eb589e7c9568d526ca12513ac42f7d0"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/let-directive-children-snippet/main.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/let-directive-children-snippet/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"286ce66c55b8431286ba88be841662f6b7e1187e2a3a01d3a7b15bf2f360d768"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/compiler-errors/samples/unbalanced-curly-component/main.svelte:3 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/unbalanced-curly-component/main.svelte"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5976c1b1929ea2b155a493a98f38c2a2489dd61e1b13cd3ef41bf62cd1389fd0"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/migrate/samples/named-slots/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/migrate/samples/named-slots/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"34603387631a791268f6a35bf71e6818b1ac083656e0159e7b6f9b800eb94a67"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/migrate/samples/reactive-statements-reorder-not-deleting-additions/input.svelte:5 imports \u0027./blah.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/migrate/samples/reactive-statements-reorder-not-deleting-additions/input.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"da490a94fd8f85f7542ee04288230c7ec70e8dfaa0fe558111fc3cabede4e130"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/migrate/samples/slot-non-identifier/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/migrate/samples/slot-non-identifier/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b4cd0794af23624822b87939ec63c6deeaabdc9b220749500a78f02e75fd62"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/migrate/samples/slot-shadow-props/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/migrate/samples/slot-shadow-props/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d619a095d6c0628055175589a58f96ad53a20865a2eb501431dcfecd16042596"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/migrate/samples/slots-below-imports/input.svelte:2 imports \u0027./Foo.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/migrate/samples/slots-below-imports/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a7e6e3ee1ff02289371e1dfb7dcdac9d543bf5b5d26ef7442bbec4c605da0b"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/parser-legacy/samples/dynamic-import/input.svelte:5 imports \u0027./foo.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/parser-legacy/samples/dynamic-import/input.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"51709f0bd2e1a351b7c8aaa1d1a7ff62ed17230359b99cd95cb7830f724cebf1"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/print/samples/component/input.svelte:2 imports \u0027./C.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/print/samples/component/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe45a47b98c6842d5d6a694deae14787d9677681789cef75dc3360315876ff1"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/print/samples/component/output.svelte:2 imports \u0027./C.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/print/samples/component/output.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1953f0fbad13f80145c0973f9dce9d61243892a1cf28978f1626396d5786220a"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/print/samples/svelte-fragment/input.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/print/samples/svelte-fragment/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8573047ef985937348f9aeed257c3754103da7ea6789f9e8ab9f384ee89dc1"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/print/samples/svelte-fragment/output.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/print/samples/svelte-fragment/output.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"91679aef3f6523b39b3fddd40ba13076ad5c2b84f6784326c453f623c4b7df33"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/snapshot/samples/bind-component-snippet/index.svelte:2 imports \u0027./Child.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/snapshot/samples/bind-component-snippet/index.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34f6d59d0fb40330d119eaec0664b0f5de0f2018aff5559ae71cc87911d13be"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/suite.ts:121 imports \u0027./_config.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/suite.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fdf446297c28aa5c13039ac5fec34c65f3137a4530a38a3eaab9c47e1ce834"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/types/component.ts:345 imports \u0027./doesntexist.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/types/component.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a213d1b4cd7bd7cd0b1a482172581eee0853fef3f8708298c03fb6276f29ad"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/a11y-label-has-associated-control-2/input.svelte:2 imports \u0027./component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/a11y-label-has-associated-control-2/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2916e4d7d14dec1bb5808c0281f79a90827000be905ad99ae17a43917e2bdd"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/a11y-label-has-associated-control-3/input.svelte:2 imports \u0027./component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/a11y-label-has-associated-control-3/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d42ea77eed036f1b5f40cb7e19e39a9f7a0cd35630abbc48021325d89457ab6"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/a11y-label-has-associated-control/input.svelte:2 imports \u0027./label.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/a11y-label-has-associated-control/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2440998e076165d52a6c2e586de069512bf16cda82e11cdaa803ab8f9404eac4"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/a11y-not-on-components/input.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/a11y-not-on-components/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b0b5e9209e554145b3a97efd7ca717f3763c3844b10ff4564b3adb9438208c"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/action-on-component/input.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/action-on-component/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a054c61da668c730a25c67d668bfcf6340102889e0b6eb1a2f9176b5dc3f97d4"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/animation-on-component/input.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/animation-on-component/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fe49467f6ccad837cdcef71809ff6f07cd8b6d42ffc3e197c518cc151b17ad"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/await-component-is-used/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/await-component-is-used/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"366d1867dad36bc43ccb7227504f7ea3c2725529bf1bb8279446e55842e91f66"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/binding-import-component/input.svelte:2 imports \u0027./Input.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/binding-import-component/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b68eca91e04994152a31ff9bf6bea8446f886705472e142b8c7eedddaf0dce"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/binding-import-element/input.svelte:2 imports \u0027./dummy.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/binding-import-element/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c057a522a915f09a183920fb5a80504bba5a54c812417aabc0b3350a6e602c2d"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-event-modifiers-invalid/input.svelte:2 imports \u0027./Button.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-event-modifiers-invalid/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"42de8ee713c4484a313e5b12c9239281f6721146c92fa0a666925c2cb38e4e2c"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-legacy-instantiation/input.svelte:2 imports \u0027./Somewhere.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-legacy-instantiation/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"629045193e603a028ff0186083b454f857658082d1b6fcfe55698e7807ff88c5"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-name-lowercase/input.svelte:2 imports \u0027./MyComponent.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either (1 further unresolvable import(s) in the same file). The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-name-lowercase/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2447ad2bce367a660d4948b1ff3282b06213b7c05884f761344b544eb97f295"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-slot-dynamic-attribute/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-slot-dynamic-attribute/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483609b24c0baecea8b1f708e3618292c658c0cb4bad2d1148c484efaf4790e"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-slotted-custom-element-2/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-slotted-custom-element-2/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4023c5975943c35663fe098f365d325c7dc8eb06a6b94cd2b50f3cb6f404b943"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-slotted-custom-element/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-slotted-custom-element/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef58edffdeff1d9289ac16498dfa46879b418e66e99fedf89c1708985048c56"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-slotted-each-block/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-slotted-each-block/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"553c8ae00f3db935d65184320c25c1e659ab2d2c65d72084fb0787cdfb111b28"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/component-slotted-if-block/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/component-slotted-if-block/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"66474fa36a5e31470c340251636f5561d0c959b2b023848cad8f5127d9b428ee"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/export-not-defined-module-with-source/input.svelte:2 imports \u0027./something.js\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/export-not-defined-module-with-source/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"17711723e64c08ecfcd5fc0919902047da27458b4869b6038d6c626166edc033"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/illegal-attribute-character/input.svelte:2 imports \u0027./irrelevant\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/illegal-attribute-character/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7242bdc62b001b627e96b1ad727816c40cf422564894014685681f5a49a8c2e"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/illegal-variable-declaration/input.svelte:2 imports \u0027./dummy.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/illegal-variable-declaration/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1537b4545fbe3d04f7a6ff784afbb5b6403462c11de7c4b37b1706d1380dd3"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte:2 imports \u0027./Bla.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a650e5fe6065f11ffdc9a0b0b91b7da476db600ad8f6671c31a8fa7d104eb0a9"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/no-runes-mode/input.svelte:2 imports \u0027./store\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/no-runes-mode/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a694873634ade54015ac789ae450f10c8e4e8976315e6ba7e4d185df7548acb"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/slot-warning-ignore/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/slot-warning-ignore/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed5a895d639acb45ad19f7fe06a13a2e308471501d7460943a20db8f12f9b42"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/slot-warning/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/slot-warning/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b165e5d900bce374fd43a35d19295759fbe6d5f525d724ab22d97a26914604a6"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/slot-warning2/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/slot-warning2/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcdc30c8b205cd12d3f830dfcd4bac365385455e79dd70115e766aab9e7f2ad"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/snippet-shadowing-prop/input.svelte:2 imports \u0027./Component.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/snippet-shadowing-prop/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16c87cf51f1795e754167fc80b9caebae00e2d79e2024647fc16211aad8d7f9"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/svelte-component-deprecated/input.svelte:4 imports \u0027./A.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/svelte-component-deprecated/input.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4449c7d9f32ac7e91e95500ff2774e7b72bea50265c350c14adc2abaf0ba4f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/svelte-fragment-placement-2/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/svelte-fragment-placement-2/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38c7248f668a2970a42d72942a8caa3cf5f85af9468308f43723fe72752dfc2"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/svelte-fragment-placement/input.svelte:2 imports \u0027./Nested.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/svelte-fragment-placement/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b69968e39f64f37562e000f5b11e3e6428d66b43b9f587f1aa3505297dd43f"}},{"ruleId":"R4","level":"warning","message":{"text":"This test file cannot be loaded: packages/svelte/tests/validator/samples/transition-on-component/input.svelte:2 imports \u0027./Widget.svelte\u0027, which names no file in this repository \u2014 and no rule in its .gitignore chain could cover one, so no build writes it either. The import throws as the runner collects this file, so none of its test cases run and nothing it was written to verify is verified. Restore the missing module or delete the test. It is excluded from the reachability measured above, because a file that cannot load reaches nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/validator/samples/transition-on-component/input.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab64543575106cd8c83e8ebe71005d41893f6d28991b9b18452cc031036e1cf"}},{"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":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf70583432cca1187ad71bc39bf7b8a8c6c2628da774518020ce552ce0a2746"}},{"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":"packages/svelte/scripts/process-messages/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bffe00d3a3ed62c221b50a28ff4a46c52dce67b72dd20ed1fc4afa2fbfa669"}},{"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":"packages/svelte/scripts/browser-support.detector.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83a34cca5146e8cf1dd7e6932a1f04783645bfe29264d624f58d1dda225b3da"}},{"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":"benchmarking/analyze-compiler-profile.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d6d4f1a51524135c4d52ed4df3f6d48c58a58380cf2b119c2b63158fd9851d"}},{"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":"packages/svelte/scripts/check-treeshakeability.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7cdfd64cf133986877a0e2b77d4f82a48973fc44fecfdc1459278300cd02a5"}},{"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":"benchmarking/run.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4f872b5a613d628818aa9a9739670febb4475bcab1ecc54a430aa3d0807a5"}},{"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":"benchmarking/compare/generate-report.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"485c0cf35edb14495f595cd4cd62d4f42cbe1d1e3fdc663d37f47b8746c0195c"}},{"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":"packages/svelte/src/compiler/utils/compile_diagnostic.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8d95e308dd6692fb592d997b36b8c56e83261110b7398a88e14c984ad0e9c"}},{"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":"benchmarking/profile-compiler.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a13693cdf551bcd2482fbe5da3c22a7dd02521d8e5582d81ae0ce80b01c4a4"}},{"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":"benchmarking/compare/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6d6d49c823e4482cc7d0c5d59aa0a3ca8d3bf4a5f224cbe08b45b0f5659ba8"}},{"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":"packages/svelte/scripts/generate-types.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9851fcfe8c3726d44d8257aa74ec4d55fe07d0273bcee85dd293d74075a21d4"}},{"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":"benchmarking/compare/profile-diff.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7439fcb1d34a793cb58b20e83b571b2c70e540f3a8270fdf5348ea3ec75f4207"}},{"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":"benchmarking/compare/runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76a2d995833e2992b598a1ef96a5f9a923253cd1daa1d66676eedfe2c02e7a8"}},{"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":"packages/svelte/scripts/process-messages/templates/compile-errors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64320b9e9c9f09bd68643eb45ed89dbb7237d535b8bfd5a2797de3557f08a151"}},{"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":"packages/svelte/scripts/process-messages/templates/compile-warnings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d16d3c6927fc5f981523e46a2945266d04b0a047e4067189e388db855fff4"}},{"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":"packages/svelte/scripts/process-messages/templates/client-warnings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"009c4064e2b98c5ab78e87eec6a83c92d74b6211c89d1c539bcf456434fd7b74"}},{"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":"packages/svelte/scripts/process-messages/templates/server-warnings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f38e183ad4ca4647190c6fd960ca43fce652ce9361e6c72e930523b9920270"}},{"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":"packages/svelte/scripts/process-messages/templates/shared-warnings.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c9eb6650c88db564770362e0f547b880277c105d8c132a41fcc94dd6b56e6b"}},{"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":"vitest-xhtml-environment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"335133f824f5b7435301826850144201b58eba7a25a859516a274fb0bed26279"}},{"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":"packages/svelte/scripts/process-messages/templates/client-errors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"809143cf21a149e821d74e79ce15d904e34b7780f7f5c68824ffb452430e55bd"}},{"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":"packages/svelte/scripts/process-messages/templates/shared-errors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43b234028babc8f881e7d056d11478c9e55a3c372559b1b8ff156f05935bff0"}},{"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":"packages/svelte/scripts/process-messages/templates/server-errors.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14e7cac7f3336227c3b977688e3df2a457d5b60a3deb5ae8f2dadfdd132d525"}},{"ruleId":"R6","level":"warning","message":{"text":"The declared test suite includes a file that cannot be loaded: This repository declares test tooling, and the \u2713 above records that declaration \u2014 but packages/svelte/tests/compiler-errors/samples/attribute-sequence-expression/main.svelte and 56 other test file(s) in this workspace cannot be loaded at all: it imports a module that names no file in this repository, so the runner throws while collecting it and none of its cases execute. The wiring is present and the suite it points at does not run as written, which is why the tooling tick must not be read as a statement that the tests pass. Fix the unloadable file(s) \u2014 each one is reported with its failing import under Test Coverage \u2014 then the declared script exercises what it claims to."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/compiler-errors/samples/attribute-sequence-expression/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71e4a67d21f19de21a4b95e67ff8a819e10b6df2c10d756776c7104a3212824"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~429 LoC): no import path from any entry point (59 application, 44 tooling, 7606 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":"packages/svelte/scripts/process-messages/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d83d6801deb8655b885b2db5a1a00c7eb56d2b90d7d1ad9241a513dccbd924"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~67 LoC): no import path from any entry point (59 application, 44 tooling, 7606 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":"benchmarking/compare/runner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3d146d90393ccf8c4b67c373ce13429eed34875321f1f63b591d4a6050566b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (59 application, 44 tooling, 7606 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":"benchmarking/benchmarks/ssr/wrapper/App.svelte"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25c1eeaa02065a46dffff98f5a3da9587af0cf1f67ad6e97a2f937ea663c690"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (59 application, 44 tooling, 7606 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":"vitest-xhtml-environment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65610b8f123dff747a4269e269ddb828612ed425491bc0eb20d093a217afa75f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027log_reactions\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"683cc1b6b2f292d05b7d1fa4eef75c6fb3b06004ad56603441c2b6fca56a9933"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027log_inconsistent_branches\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/debug.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d94c8c5c8ef9106f49616393dcf92fadbf32c383d43c5565e3e8b1f4cacab0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027X\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":"packages/svelte/tests/compiler-errors/samples/class-state-field-static/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3d1a79679c6a5b2066dcb961133680ef98cb33e63063117b03ba13e2a148c6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ok\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":"packages/svelte/tests/compiler-errors/samples/dollar-binding-declaration-legacy/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0c5dfcb7ba2a0ead2bf0cea1b457d030ecbebd3eca7cf382eac55a51e7de77"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ok2\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":"packages/svelte/tests/compiler-errors/samples/dollar-binding-declaration-legacy/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d2d47e4d667a159ffa6587faf96186404d06676ba8a2b543ae78ec9e6157bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027ok\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":"packages/svelte/tests/compiler-errors/samples/dollar-binding-declaration-runes-2/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fd898777851fd4f430be5b42fafcef4483364405e9689a1e8bf96c02c4c9c0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027error\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":"packages/svelte/tests/compiler-errors/samples/dollar-binding-declaration-runes-2/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd8c0c10c4b8622bca60b6bf45ac36f7d7b18615018d8419c74311edbc847d5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027a\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":"packages/svelte/tests/compiler-errors/samples/runes-wrong-effect-placement/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2c7ec4da103e9e35093a19c0959cdd8e856ce453adbfd39d1e3443ce83d18c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027x\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":"packages/svelte/tests/compiler-errors/samples/runes-wrong-props-placement-instance/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5469506e9f17ff580fd54f98b601684c4862452741196d4fe6fc65cfc5054477"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027foo\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":"packages/svelte/tests/compiler-errors/samples/store-autosub-context-module/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35e34f96b78f45fb2424f3cfd28c764304dc26b6f14d1576daf628b4fa8b428"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027foo\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":"packages/svelte/tests/compiler-errors/samples/store-shadow-scope/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a52ff3f7d6fadc1817a694d3feba74a9100ec97eee54bf51a1ac8468590a65"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027strip_link\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":"packages/svelte/tests/css/test.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244483793e5bb731491d15872a70ab18d5694ef4e563f58a54eaa733d75633e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027foo\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":"packages/svelte/tests/runtime-legacy/samples/async-generator-object-methods/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c442694366dd63e348621d6a19bbb4eedcabe6ef323c77187579eb7638b0048"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027func\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":"packages/svelte/tests/runtime-legacy/samples/const-tag-func-function/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8594d5c1862c2851b36a89bfa557461ecb0a5bca1602a7eedf0a168b19e21f3a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027obj\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":"packages/svelte/tests/runtime-legacy/samples/each-blocks-assignment/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"145cf1fee09ed7e65a60e6e883cd10486974f70aa805b1e72446a70d44a8ba86"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027a\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":"packages/svelte/tests/runtime-legacy/samples/empty-dom/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e537cd03dff047eeadfa00d2b643a61ff0e889072cf8386332b0bc16e0302f9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027yes\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":"packages/svelte/tests/runtime-legacy/samples/ondestroy-deep/C.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4034db74a457d009721bc4197da2c18c936173518bbf4e8d39cb1aec0f07ff45"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027employees\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":"packages/svelte/tests/runtime-legacy/samples/reactive-assignment-in-complex-declaration/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"791d38e3bf3592e926e8af4678efd24be9060dcf496f7395f51659aad49dddeb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027a\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":"packages/svelte/tests/runtime-legacy/samples/reactive-assignment-in-declaration/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af330e5bf7c7e78285e92872bf848d08fe2600f84ee8c57c095ea5f7764057"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027a\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":"packages/svelte/tests/runtime-legacy/samples/reactive-assignment-in-for-loop-head/main.svelte"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"12688175694199df9b78045c8e0eccf0d17af455c82d79eca0d0a1e7bda73086"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027onClick\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":"packages/svelte/tests/runtime-legacy/samples/reactive-update-expression/main.svelte"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ec226d89ff71ce57e27a85fbf8166ea9ab5bf9b259419c58de20a51f3ecc8f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027timeZone\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":"packages/svelte/tests/runtime-legacy/samples/semicolon-hoisting/main.svelte"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"294ac44686f7cf91d1c7294a4ae310faa2cd454db6d4899f0c278eda86fb9712"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027#tree\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-disabinguate-private-method-definition/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b93b23152c14973544b04ab8559cf3c3413e58cddc52c8fff0ed3557f64c30f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Test\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":"packages/svelte/tests/runtime-runes/samples/class-state-conflicting-get-name/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"579b2bdac043af4c2d0e9de549cfa1fc9bf7545662c3de04e1b9db7698f90eff"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Test\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":"packages/svelte/tests/runtime-runes/samples/class-state-constructor-conflicting-get-name/main.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d383963b762ea781e618d4333fdd128249c05b4856f3ef7a42f7758dc0db459"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#count\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-state-init-conflict/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"db592d6667614b4d8f2b8d19f0f6f86a155197630123da2496f32bd1554e216c"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#_count\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-state-init-conflict/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f790c0b348e0bb3ce704c50139d028d0b630c8c1e47668011ce9290ff7f5358"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027#count\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-state-init-eager-2/main.svelte"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f8b1969d277bfb4c8f90f0cb309dc1ff9714b3b2ba65a0598f5e1f78b1b5a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027#count\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-state-init-eager-3/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d369fe946cfd250010fede9f6ca237210329115e95ce0fe114af22c8e9ee302"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027#count\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/class-state-init-eager/main.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f129abeb7edf4087e47ab80047791fc3c1a20b3257c1c43756bdcee6b2cfbb7"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#id\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/runtime-runes/samples/each-updates-9/main.svelte"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d49dc237a27c06bbc5b986d83612b82e9d75f58fe8503188e3916dd451dcb74"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027init\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":"packages/svelte/tests/runtime-runes/samples/reassigned-store-not-state/main.svelte"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc378aea728a4c35bc9a52d3d2bb13205cc172c3e83f8d75f0503b3a76d29cc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027store2\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":"packages/svelte/tests/runtime-runes/samples/store-no-mutation-validation/main.svelte"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"687310615f9f0630a9ab3dbfa7bc137350045a777219a596c510037d15807f90"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027this_fn\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":"packages/svelte/tests/runtime-runes/samples/typescript/main.svelte"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca95fc3ae2aba86ad84f3440fe8f9c72b654818ca9478f3a2b3f864991be0cf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027MyClass\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":"packages/svelte/tests/runtime-runes/samples/typescript/main.svelte"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b31ad534dc9864a00b99580c1d135e6eca1bedbd7d270fcbd204a6dadb6e61"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Subclass\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":"packages/svelte/tests/runtime-runes/samples/typescript/main.svelte"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"af921c2c6e0ac6cbb9bd139e83d0a0f54980c6b597cb1b313dbece9061b6eced"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027person\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":"packages/svelte/tests/runtime-runes/samples/typescript/main.svelte"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdbd23de4b71461d5b0927581b656c881262edf248547976f59c14db3dc673f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027Foo\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":"packages/svelte/tests/snapshot/samples/class-state-field-constructor-assignment/index.svelte"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d501d659bccac98dd24349d1773472612650aeaadc7bbbcfc5afc19dbde9fd"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027#b\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/tests/snapshot/samples/class-state-field-constructor-assignment/index.svelte"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92fd078593130f1c31d2c19a75abf0bc463b82bba1b099729c26239862fd232"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027legacyComponentProps1\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bbd4aa81fd80ca19f1a836570948d242a8bcc2cf45d56bc61a22cc29d0c911"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027legacyComponentProps2\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b39b4afa60ab309770fe158cf0c9c93ec6cdfc14058e4b8b5f9b2b45fbafdd9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027legacyComponentEvents1\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2492d795567ef92e91ef425812bfe3a5145e7172851e31d9d70ffff0e633c9a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027legacyComponentEvents2\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d562fd1a6bb2a6207d269d07d67da5f9e0d74dfe6ab977a03e6bdbdf019505"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027newComponentProps1\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b089d47809de40b8b0338d62564a4663658a52d10dda79f17a49ed1e8dbd85a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027newComponentProps2\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"847301b519ece633a14149d015e55e118752ff4d6cad89875322d47515a4b9f5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027newComponentEvents1\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c17bfdf25ccf04b30758626fea12deccd5607ea40f520942090582c4b9af1cb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027newComponentEvents2\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dda6181ef2339f0ff42592b52ccf600429d4901bd81ac399fa466fc69458ce0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027functionComponentProps\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafcc427c98015ba24db5780e04c35032d489a991ce761a80865c1fcd2a0bf7c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027functionComponentProps2\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":"packages/svelte/tests/types/component.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"503a3d08564b91a821d4ecbe1bb70d22f37c2b8569596a2b351e338b70173fd0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027tweenOptions\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":"packages/svelte/tests/types/motion.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87841500f32a89b0ed30533e9dde70e628516525b89af579c016644991357a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027springOptions\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":"packages/svelte/tests/types/motion.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4faf40fc3ac35703c105d37dcc6d6f1f094ac115c2aa7013863984619bc8f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027springUpdateOptions\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":"packages/svelte/tests/types/motion.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ab8ab9df06488a129b25d648b2853422f0031934a88bfc7bdd9d3137c22163"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027updater\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":"packages/svelte/tests/types/motion.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b45c307d9bf407674e58981aceb0629961b662c7e0ec82d492a748b9425fadd"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027c\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9e937570bfe8e9b05993bf35b4b45adf6b0c283602a578beaf0bf4786307fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027d\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e22490adb3c8b9506f3002f28721381bf1e2544414a97547fd0bbc9033cb56"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027e\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3c62f73298ce03ae909f2dcbcafd01727ded9e3a3ed45f0dac67570e7471bf"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027f\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0569d9bcf96027272f9de0d2d59d993e2450049af421aad34822fb9b7f883"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027g\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d75619baf63e53c29a78503020a4a7bb78f1f94208c4dcbe5cba1498699a70"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027h\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb6353871b62087bf26d570059f086bdb6fe17c6ec12b04da995c6a337a84fe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027i\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":"packages/svelte/tests/types/snippet.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4a2730d06bf08a5191db07515d94cc1f3824b26f12654a8018d608ebd6eaf6"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): packages/svelte/src/attachments/index.js \u2192 packages/svelte/src/index-client.js \u2192 packages/svelte/src/internal/client/index.js \u2192 packages/svelte/src/attachments/index.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/attachments/index.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5beec1f3bc3fcb954f4f995cbc96af05fea526c430200836e22845361d1043ab"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js \u2192 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js \u2192 packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad965c4c55bedca87428111fee3d49ee61a74d1b8924d74cdae347fa24c806c"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/svelte/src/compiler/utils/ast.js \u2192 packages/svelte/src/compiler/utils/builders.js \u2192 packages/svelte/src/compiler/utils/ast.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/compiler/utils/ast.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d6fe7e1b594d0f34ad5f760f6bf6319dd87d6d9893bd6a87b2c68897a99ecc"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/svelte/src/internal/client/context.js \u2192 packages/svelte/src/internal/client/reactivity/effects.js \u2192 packages/svelte/src/internal/client/context.js (one verified cycle inside a mutually-dependent group of 18 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/context.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9300f3ceb818c903a1a910bbb841f3c8d6b7ff4b8aab95da34e8bf78e8c54d"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): packages/svelte/src/internal/server/dev.js \u2192 packages/svelte/src/internal/server/renderer.js \u2192 packages/svelte/src/internal/server/index.js \u2192 packages/svelte/src/internal/server/dev.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/server/dev.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab0e0ea00537cfdccfc5b1055e3b52a0c6e3364423a4f7d0263885f7a212200"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): packages/svelte/src/reactivity/url-search-params.js \u2192 packages/svelte/src/reactivity/url.js \u2192 packages/svelte/src/reactivity/url-search-params.js"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/reactivity/url-search-params.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d2aee906a0e12fa5f0e60f2fb7452f83210ef01d5951c382fca9caa29d224b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(value) || value.length === 1\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/utils.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c362ebc563c37c05d9e3b709ccb472fe275a02282ab93e2621b217d20a52045e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!element.metadata.svg \u0026\u0026 !element.metadata.mathml\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd13c7055dfd164f95dd17b020fe5ffd37994c7f4f66483dcd2cc098e0e583bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(binding.kind === \u0027state\u0027 || binding.kind === \u0027raw_state\u0027) \u0026\u0026 binding.reassigned\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js, packages/svelte/src/compiler/phases/2-analyze/visitors/shared/utils.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad578214dbc6da2be65a571f40c684d22d4da3c5d36d3337918d039f10eeea2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060STATE_SYMBOL in props || LEGACY_PROPS in props\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/internal/client/dev/ownership.js, packages/svelte/src/internal/client/reactivity/props.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":"packages/svelte/src/internal/client/dev/ownership.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aeaef0727015035f20f4d9a094806fe7086473aec61ed41d619a3f693abfd8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a.type === \u0027Attribute\u0027 \u0026\u0026 a.name === \u0027slot\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/ConstTag.js, packages/svelte/src/compiler/phases/2-analyze/visitors/shared/attribute.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ConstTag.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f87d3a5cd25e95bdcf6505135f6e726a0f68737387bddbb1a9d36aadd3c50c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060analysis.uses_props || analysis.uses_rest_props\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/migrate/index.js, packages/svelte/src/compiler/phases/3-transform/client/transform-client.js, packages/svelte/src/compiler/phases/3-transform/server/transform-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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"db71b1d276eb2da06f7c3fb77b082c736d1eb716b1bd5452937e93407e7e6247"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attribute.type === \u0027Attribute\u0027 \u0026\u0026 is_event_attribute(attribute)\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteWindow.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"53080e084104569d930bf18ecee90cbd1ff8ff7ff1191f305e24bd2c5eaf3958"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attribute.type === \u0027SpreadAttribute\u0027 || attribute.type === \u0027Attribute\u0027\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteDocument.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteWindow.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/SvelteBody.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73dfc5520e9b78dfe83bdc38e994f7995bd593f2c33cd98d3d88b95e062fd81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060b !== null \u0026\u0026 b.object !== context.state.async_consts?.id\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/DeclarationTag.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/DeclarationTag.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/DeclarationTag.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/DeclarationTag.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac710b9f6ba9a07ceebcce061cc330f275a7d543d7e35eba387084481702cc11"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.kind === \u0027normal\u0027 \u0026\u0026 binding.declaration_kind !== \u0027import\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca497cd9100945d1963c01ce038804efd3fcad27f50f147373de98ef209a25ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding?.kind === \u0027state\u0027 || binding?.kind === \u0027raw_state\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/transform-client.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.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":"packages/svelte/src/compiler/phases/3-transform/client/transform-client.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22ce199fea85dd290ba15ac32e31d0377df8eaffd1bc0754e8a7cbcc989061d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.path.length === 1 \u0026\u0026 context.path[0].type === \u0027Fragment\u0027\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/DeclarationTag.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/SnippetBlock.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/DeclarationTag.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"762f990b653d5b6b5380046bfcdd42000b09a30d0db60ac42a52ca7ac8f081f1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.state.analysis.runes \u0026\u0026 node.id !== null\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/ClassDeclaration.js, packages/svelte/src/compiler/phases/2-analyze/visitors/FunctionDeclaration.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/ClassDeclaration.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e6427c0fcf4ea45fc6e922e3c4430500e5c63b3d04612a67fa48ab33909843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060context.state.analysis.runes || context.path.length \u003E 1 || node.label.name !== \u0027$\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/LabeledStatement.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/LabeledStatement.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8019c128feec238f58b61222ab070ffa8c398fde1c3490c834aa841fba3082c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060declarator.init \u0026\u0026 context.visit(declarator.init)\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8940d6bb1ffe61ac7a54d371ae94fa370a9833980f2c16ad3f36f6feaaad01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060each_node_meta.contains_group_binding || !node.index\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/EachBlock.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/EachBlock.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"86682fbf5a1790a6b4245795b4261be43932a15b49d237b72208f42448127294"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.metadata.scoped \u0026\u0026 context.state.analysis.css.hash\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0429b1424a4895fdff9ff627a7e9c2c4a1c6ef933d5360bedaa42a1aadd6dad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.type === \u0027RegularElement\u0027 \u0026\u0026 element.name === \u0027select\u0027\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/element.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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31c1b37994469b5c4496a33542a25014adb9d79559e254880dff152a29d21af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_ignored(element, \u0027hydration_attribute_changed\u0027) \u0026\u0026 b.true\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccaf58f4a6b04ad13edd84470760e10b122d5e8f89fe49db2f306754784d5ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_ignored(node, \u0027state_snapshot_uncloneable\u0027) \u0026\u0026 b.true\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/CallExpression.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"99bbab77107e8ac64b6af4073c834220a5c47b2ceff463eabf22f6531592650b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name \u0026\u0026 context.state.state_fields.get(name)\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/PropertyDefinition.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/AssignmentExpression.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/AssignmentExpression.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/PropertyDefinition.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec267efedd635e7fd442586e3157f8fa9add7ebee302d6ab1517127b245e9a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.body.type === \u0027ExpressionStatement\u0027 \u0026\u0026 node.body.expression.type === \u0027AssignmentExpression\u0027\u0060 appears character-identically in 4 files \u2014 packages/svelte/src/compiler/migrate/index.js, packages/svelte/src/compiler/phases/2-analyze/visitors/LabeledStatement.js, packages/svelte/src/compiler/phases/3-transform/server/transform-server.js, packages/svelte/src/compiler/phases/scope.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":"packages/svelte/src/compiler/migrate/index.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a0180ba16b39d68a081fa829db988ed65ac570e9d8d748ce5aeffd4ae99672"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.declaration.type === \u0027FunctionDeclaration\u0027 || node.declaration.type === \u0027ClassDeclaration\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/index.js, packages/svelte/src/compiler/phases/2-analyze/visitors/ExportNamedDeclaration.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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"a990e5aa7dfff288f30114cc303b15c987a4af59f441a6e7bb7047d127cff7f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0027RegularElement\u0027 || node.type === \u0027SvelteElement\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js, packages/svelte/src/compiler/phases/2-analyze/visitors/shared/a11y/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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff4c6ce3109624a1ef144ce594d9770e4072e9f2ce6b9b64134ba9390b55d46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0027Rule\u0027 \u0026\u0026 node.metadata.is_global_block\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js, packages/svelte/src/compiler/phases/3-transform/css/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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64dce443287aee0d3a1be0d858f1dd62bebfbfe3c77431016cce3c6dfbaaefe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0027SvelteComponent\u0027 || (node.type === \u0027Component\u0027 \u0026\u0026 node.metadata.dynamic)\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3bbae65164adba5b00d605b0a8ef34d65e34546ff488bff04f35d34555831b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0027Text\u0027 || node.type === \u0027ExpressionTag\u0027\u0060 appears character-identically in 3 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"168408f00e18787ec39233be239e716cc1e8351cfc68cf41e28d5ef63e30b315"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent.type === \u0027ArrowFunctionExpression\u0027 || parent.type === \u0027FunctionExpression\u0027 || parent.type === \u0027FunctionDeclaration\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/AwaitExpression.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/AwaitExpression.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c61da20553154c8ee207b2a50ff54483a1e55d0d570819f03005d49c6be88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent.type === \u0027Component\u0027 || parent.type === \u0027SvelteComponent\u0027 || parent.type === \u0027SvelteSelf\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/LetDirective.js, packages/svelte/src/compiler/phases/2-analyze/visitors/SnippetBlock.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/LetDirective.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"af264516743e95bcab9e724058e8c5ce0a42b3379dedbe44aa75bcefaf3682f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent.type === \u0027RegularElement\u0027 || parent.type === \u0027SvelteElement\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js, packages/svelte/src/compiler/phases/3-transform/utils.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":"packages/svelte/src/compiler/phases/2-analyze/css/css-prune.js"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcbffed24f15dc36647f7d060d2cbee63cc019d7f278974e28d70940d08b7e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060props_and_spreads.length === 0 || (props_and_spreads.length === 1 \u0026\u0026 Array.isArray(props_and_spreads[0]))\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"06567ff6c1388303b52d96934b7d7d27781062c37b26163d2deb0c28b914f256"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rune === \u0027$derived\u0027 || rune === \u0027$derived.by\u0027\u0060 appears character-identically in 4 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/VariableDeclaration.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/VariableDeclarator.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b966cf974351a06b7bfcd488718795747ac6c17b9261b812d1cf970eda2b80cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rune === \u0027$state\u0027 || rune === \u0027$state.raw\u0027\u0060 appears character-identically in 4 files \u2014 packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/VariableDeclaration.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/CallExpression.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/PropertyDefinition.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":"packages/svelte/src/compiler/phases/2-analyze/visitors/Identifier.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31a48bfd1c92a3302e7d5234d6c7e767973474a49a5358b991d051d35a3a439"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scope !== undefined \u0026\u0026 scope !== state.scope\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/index.js, packages/svelte/src/compiler/phases/scope.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":"packages/svelte/src/compiler/phases/2-analyze/index.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f5c2e8b7cfc4aa9631af30720c189f2a032250c8d38e45a34ec4664444f82a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selector.type === \u0027PseudoClassSelector\u0027 \u0026\u0026 selector.name === \u0027global\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js, packages/svelte/src/compiler/phases/3-transform/css/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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"986ee71db45757dd6328ab45c123338f50db88d91ddf12553f94cbecf18fb926"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selector.type === \u0027PseudoClassSelector\u0027 || selector.type === \u0027PseudoElementSelector\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js, packages/svelte/src/compiler/phases/2-analyze/css/utils.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":"packages/svelte/src/compiler/phases/2-analyze/css/css-analyze.js"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde1f0880799bc283051b841082d016b374c4ae51f4e80afb05533eb27b209eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060slot_name === \u0027default\u0027 \u0026\u0026 !has_children_prop\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/shared/component.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/component.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e033863059bae9917eefaef1dbdc9821e65bba00a2079945d56b9b8ac346d9bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060state.async_consts \u0026\u0026 state.async_consts.thunks.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js, packages/svelte/src/compiler/phases/3-transform/server/visitors/Fragment.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/Fragment.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a406dec4cc06cbb9f3cc5ba6977a96f5c45d128f38c963deb9484271df1be17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.type === \u0027Literal\u0027 \u0026\u0026 typeof value.value === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js, packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/element.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":"packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c0c2033c0adf00806fac1589e4a528cdb155716af701079120eed93b1a80ca"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060create_trusted_html(\u0027\u003Coption\u003E\u003Cspan\u003Et\u003C/span\u003E\u003C/option\u003E\u0027)\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":"packages/svelte/src/internal/client/dom/elements/customizable-select.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5381d8badcd56bf5a7ea7b623b4351beb1c65f0d49a268ec393968842f8e01a9"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060create_trusted_html(html.replaceAll(\u0027\u003C!\u003E\u0027,\u0027\u003C!----\u003E\u0027))\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":"packages/svelte/src/internal/client/dom/reconciler.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b5f698ae24eceab5cf339381e1655635eb7f5a8e439d27a720c851745dc159"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/server/hydratable.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b5715ae4201658638a8c556abfd24c0b7a34fa4f038b2d1fe5b4c81e6ac5b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/server/hydratable.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad778e97b73f8eaaacf8379a267d0089c46571f51c1cc00326a6ef60887151f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/proxy.js"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe49d6d47f68488c03b2ada5e11c5985d44f8a63f31d858053d765862b7c222"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e23c7293261c03e9e861828104832785d6ed386578f5829e197933944f12dd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/runtime.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"37aa0291eec5fb46c4791acb8450c2c1bd75a26aee00e6a055911926c361c10f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/console-log.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03377a78b3c86f475bd5de6c87c35e95912bcec9522ca71a7d12e41cf283cc1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/equality.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce059c5f1c617b2877fabf231e163b10c53f10a5d77392fe3f3f2f6676113fec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/src/internal/client/dev/inspect.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51809944941bcf7da788bce35fa18ee9529b8ad1afaa01c0633b626f4ecf46b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54a5c6e30509a5e7d40098d91b4c52e862370ccc18f3b8c1d5ea80c73af7cce"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"daee84626cfd431890653964e362925e23ec41a9c90746f141ce0f9d7cf31794"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/svelte/scripts/generate-browser-support.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e874630f92423e880e83d56e5681f2e4e971b0b0deec213932df05640824e6"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 4/6 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}}],"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-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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-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":39,"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."]}]}