repowiserepowise
Sign in
shadcn-ui/ui
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowiseshadcn-ui/ui
UI
UI

shadcn-ui / ui

typescriptmain30a58d4453.1K linessynced 2d ago

Code health

9.1out of 10Excellent

This codebase scores 9.1 out of 10 for code health, which we rate excellent. It also scores maintainability 8.9 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 150 of 5,111 files are git hotspots, and they average 7.6 — which is where the fixes pay off most.

Full health report →
Documentation4,230pages
68 with model-written prose, 4,162 built from the index
Score validation18/2014.5× baselineTop-ranked files that did go on to need a bug fixDead code265exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing in the week to Oct 12, the last indexed commit, 1 of them now.

Now

  • High

    Simplify recursivelyResolveFileImports in packages/registry/src/registry/resolve-file-imports.ts while the change is fresh

    1 commit in the last 7 days added or worsened 3 critical or high findings here, still open. Fixing now costs less than after the next change.

    serious findings
    3
    critical
    0
    latest commit
    perf(registry): load ts-morph only for addRegistryItems (#12146)
    Small effort

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
    Small effort
Lines of code
453.1K
Files
5,111
Symbols
10,973
Modules
7
Languages
4

Recent activity

All commits →

Commits

  • 30a58d44docs(figma): add Shadcn UI Kit to paid Figma kits (#12289)3d ago
  • 993eb2c3feat(registry): add community registries (#12281)4d ago
  • 02cad611docs(registry): update the @hextaui description (#12242)4d ago
  • c0dec097feat(registry): add pmndrs to the registry directory (#12270)4d ago
  • c2a67849fix(tests): skip turbo dependency builds in test:dev (#12259)6d ago
  • e94cebe7chore(templates): bump next to 16.4.0 (#12193)6d ago

Decisions

  • Use DialogOverlay in CommandMenu to fix overlay lifecycle and button interactionsproposed · 2d ago
  • Migrate data-table docs/demos to TanStack Table v9 stable API and adjust related registry payloadsproposed · 2d ago
  • Avoid full server navigation on undo/redo by routing through shared shallow search-params updateproposed · 2d ago
  • Register built-in filter/sort functions and use FlexRender for TanStack Table v9proposed · 2d ago
  • Move drawer direction/layout rules from stylesheets into drawer primitivesproposed · 2d ago
  • Migrate base-drawer primitive from vaul to @base-ui/react/drawerproposed · 2d ago
▸

Everything we found

6,048 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health1,811Co-change scatter · packages/registry/src/registry/resolver.ts25 findings · 7.7 deducted→
  • worst item is low severity. Refactoring119transformMenu+0.6 health, S effort · packages/registry/src/transformers/transform-menu.ts→
  • worst item is medium severity. Doc drift3apps/v4/content/docs/registry/namespace.mdxLink points at #built-in-registries, which apps/v4/content/docs/registry/namespace.mdx no longer declares.→
  • worst item is medium severity. Decisions194apps/v4/registry/__index__.tsx44 awaiting review · 150 hotspots ungoverned→
  • worst item is medium severity. Ownership3,920packages/registry/src/add-components.ts96% single-owner concentration, 10 commits in 90d→
  • worst item is low severity. Dead code1updateTailwindContentUnreachable function (31 lines)→

Composition

Open the graph →
  • typescript99%
  • javascript<1%
  • dockerfile<1%
  • shell<1%

Explore this codebase

  • Docs4,230 pages across 7 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files5,111 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 7 entry points→
  • Code healthPer-file scores, 1,955 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run.→