repowisesveltejs/svelte

sveltejs / svelte

sveltejavascriptmain90ad4e8160.0K linessynced on Nov 21, 2026

Code health

8.7out of 10Excellent

Hotspots average 4.1, the place fixes pay off most.

Explore this codebase

Do next · 5

5 things worth doing in the week to Nov 21, the last indexed commit.

Worth planning

  • Tidy the code shape this week's commits left: 7 findings in 6 files

    3 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js (2 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    7
    files
    6
    commits
    3
  • Simplify set_attributes in packages/svelte/src/internal/client/dom/elements/attributes.js: tests reach it, and fixes keep landing

    Changed 11 times in 90 days, and 5 of those commits were bug fixes.

    commits in 90 days
    11
    bug-fix commits
    5
    line coverage
    Unknown, no report
    tests that reach it
    5 test files, call graph(inferred)
    worth a check
  • Review why fixes keep landing in packages/svelte/src/internal/client/dom/blocks/boundary.js: tests reach it

    Changed 7 times in 90 days, and 4 of those commits were bug fixes.

    commits in 90 days
    7
    bug-fix commits
    4
    line coverage
    Unknown, no report
    tests that reach it
    1 test file, call graph(inferred)
    worth a check
  • Simplify #process in packages/svelte/src/internal/client/reactivity/batch.js: tests reach it, and fixes keep landing

    Changed 15 times in 90 days, and 5 of those commits were bug fixes.

    commits in 90 days
    15
    bug-fix commits
    5
    line coverage
    Unknown, no report
    tests that reach it
    1,603 test files, call graph(inferred)
    worth a check
  • Simplify get in packages/svelte/src/internal/client/runtime.js: tests reach it, and fixes keep landing

    Changed 9 times in 90 days, and 5 of those commits were bug fixes.

    commits in 90 days
    9
    bug-fix commits
    5
    line coverage
    Unknown, no report
    tests that reach it
    702 test files, call graph(inferred)
    worth a check

Everything we found

5 areas