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

typescriptmaindb2db46524.6K linessynced 1w ago

Code health

8.3out of 10Good

This codebase scores 8.3 out of 10 for code health, which we rate good. 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: 56 of 5,069 files are git hotspots, and they average 5.0 — which is where the fixes pay off most.

Full health report →
Documentation4,238pages71 with model-written prose, 4,167 built from the indexScore validation17/2013.9× baselineTop-ranked files that did go on to need a bug fixDead code2,151exportsUnused exports that nothing in the graph reaches

Do next

3 things worth doing this quarter.

Worth planning

  • Fix 2 broken references in apps/v4/content/docs/registry/namespace.mdx

    The document points readers and agents at paths this repository no longer has.

    broken references
    2
    first
    apps/v4/content/docs/registry/namespace.mdx#built-in-registries
    Small effort
  • Fix 1 broken reference in apps/v4/content/docs/registry/registry-index.mdx

    The document points readers and agents at a path this repository no longer has.

    broken references
    1
    first
    apps/v4/registry/directory.json
    Small effort
  • Delete 2 unused symbols and files (65 lines)

    Nothing in the graph reaches them, across 2 files; every reader and agent pays to skip them.

    symbols
    2
    lines
    65
    safe to delete
    Yes(inferred)
    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
  • Review the 35 proposed decisions

    None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.

    proposed
    35
    accepted
    0
    Medium effort
Lines of code
524.6K
Files
5,069
Symbols
10,497
Modules
6
Languages
4

Recent activity

All commits →

Commits

  • db2db460feat(registry): add @corsair-ui (#12033)1w ago
  • 984f4351feat(registry): add community registries (#12037)1w ago
  • 98a1fe67docs(registry): update the @7ovr description (#11972)2w ago
  • 1add1952feat(registry): add ten community registries (#11976)2w ago
  • cd80d215chore(ci): close PRs with unverified commits after 14 days (#11977)2w ago
  • a87a63b2feat(registry): add nine community registries (#11925)2w ago

Decisions

  • Move drawer direction/layout rules from stylesheets to drawer wrappers and unify token namesproposed · 1w ago
  • Use DialogOverlay in CommandMenu to fix overlay lifecycleproposed · 1w ago
  • Prevent duplicate keyframes by replacing existing onesproposed · 1w ago
  • Route target aliases by workspace when adding componentsproposed · 1w ago
  • Suppress EACCES during migration glob scansproposed · 1w ago
  • Migrate base drawer primitive from vaul to @base-ui/react/drawerproposed · 1w ago
▸

Everything we found

5,816 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,618Nested complexity · apps/v4/scripts/build-registry.mts35 findings · 9.1 deducted→
  • worst item is medium severity. Refactoring223transformFont+1.5 health, S effort · packages/shadcn/src/utils/transformers/transform-font.ts→
  • worst item is medium severity. Doc drift4apps/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. Decisions91apps/v4/registry/__index__.tsx35 awaiting review · 56 hotspots ungoverned→
  • worst item is medium severity. Ownership3,853apps/v4/next.config.mjs100% single-owner concentration, 10 commits in 90d→
  • worst item is low severity. Dead code27.github/changeset-version.jsUnreachable symbol (0 lines)→

Composition

Open the graph →
typescript 99%
javascript 1%dockerfile 0%shell 0%

Explore this codebase

  • Docs4,238 pages across 6 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files5,069 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 2,046 entry points→
  • Code healthPer-file scores, 1,700 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.→