repowiserepowise
Sign in
fastapi/fastapi
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisefastapi/fastapi
FA
FA

fastapi / fastapi

pythonmaster94918c1101.4K linessynced 6d ago

Code health

8.4out of 10Good

This codebase scores 8.4 out of 10 for code health, which we rate good. It also scores maintainability 8.4 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: 10 of 2,927 files are git hotspots, and they average 3.0 — which is where the fixes pay off most.

Full health report →
Documentation1,051pages
11 with model-written prose, 1,040 built from the index
Score validation3/2011.8× baselineTop-ranked files that did go on to need a bug fixDead code17exportsUnused exports that nothing in the graph reaches

Do next

220 things worth doing this quarter.

Worth planning

  • Fix 6 broken references in docs/de/docs/how-to/general.md

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

    broken references
    6
    first
    ../tutorial/metadata.md#docs-urls
    Small effort
  • Fix 6 broken references in docs/tr/docs/how-to/general.md

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

    broken references
    6
    first
    ../tutorial/metadata.md#docs-urls
    Small effort
  • Fix 6 broken references in docs/ko/docs/how-to/general.md

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

    broken references
    6
    first
    ../tutorial/metadata.md#docs-urls
    Small effort
  • Fix 6 broken references in docs/zh-hant/docs/how-to/general.md

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

    broken references
    6
    first
    ../tutorial/metadata.md#docs-urls
    Small effort
  • Fix 6 broken references in docs/ru/docs/how-to/general.md

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

    broken references
    6
    first
    ../tutorial/metadata.md#docs-urls
    Small effort
Listing 20 of 222.
Lines of code
101.4K
Files
2,927
Symbols
6,631
Modules
5
Languages
3

Recent activity

All commits →

Commits

  • 94918c1d📝 Update release notes6d ago
  • e74b6e09👷 Fix deprecated command in `bump-pre-commit-hooks` workflow (#16463)6d ago
  • 6e659e84📝 Update release notes6d ago
  • 923a78f6📝 Remove HTML title from newsletter to avoid the tooltip (#16461)6d ago
  • fa5daa88📝 Update release notes6d ago
  • 13a2afb9📝 Embed the FastAPI and friends newsletter signup form (#16459)6d ago

Decisions

  • Disallow exceptions raised from dependency yield after response send; refactor exit stack behaviorproposed · 6d ago
  • Add example for setting up a test databaseproposed · 6d ago
  • Improve support for testing in editorproposed · 6d ago
  • Refactor docs build to rely on MkDocs hooks and simplify per-language configsproposed · 6d ago
  • Automatic HTTP Basic Auth header handlingproposed · 6d ago
  • Upgrade isort to v5.x with updated configurationproposed · 6d ago
▸

Everything we found

1,494 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 health331Change entropy · fastapi/routing.py37 findings · 8.0 deducted→
  • worst item is low severity. Refactoring47get_schema_from_model_field+0.6 health, S effort · fastapi/_compat/v2.py→
  • worst item is medium severity. Doc drift363docs/de/docs/advanced/advanced-dependencies.mdLink points at #early-exit-and-scope, which ../tutorial/dependencies/dependencies-with-yield.md no longer declares.→
  • worst item is medium severity. Decisions53fastapi/routing.py43 awaiting review · 10 hotspots ungoverned→
  • worst item is medium severity. Ownership699fastapi/__init__.py99% single-owner concentration, 21 commits in 90d→
  • worst item is low severity. Dead code1generate_operation_idUnreachable function (13 lines)→

Composition

Open the graph →
  • python99%
  • shell<1%
  • javascript<1%

Explore this codebase

  • Docs1,051 pages across 5 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files2,927 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 13 entry points→
  • Code healthPer-file scores, 407 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.→