repowiserepowise
Sign in
apache/airflow
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowiseapache/airflow
AI
AI

apache / airflow

pythonmain9c8d7511.5M linessynced 1mo ago

Code health

6.9out of 10Fair

This codebase scores 6.9 out of 10 for code health, which we rate fair. It also scores maintainability 7.7 and static performance 9.7 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 693 of 10,273 files are git hotspots, and they average 4.1 — which is where the fixes pay off most.

Full health report →
Documentation11,386pages0 with model-written prose, 11,386 built from the indexScore validation20/208.2× baselineTop-ranked files that did go on to need a bug fixDead code575exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing this quarter.

Worth planning

  • Delete 349 unused symbols and files (3,007 lines)

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

    symbols
    349
    lines
    3,007
    safe to delete
    Yes(inferred)
    Medium 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 38 proposed decisions

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

    proposed
    38
    accepted
    0
    Medium effort
Lines of code
1.5M
Files
10,273
Symbols
90,080
Modules
24
Languages
10

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Add Keycloak Refresh Token Endpoint to Core and Keycloak Providerproposed · 1mo ago
  • Use cryptographically secure RNG for SimpleAuthManager passwordsproposed · 1mo ago
  • Use hmac.compare_digest for SimpleAuthManager password compareproposed · 1mo ago
  • Remove unused entries from DagAccessEntityproposed · 1mo ago
  • Use standard library typing imports for Python 3.10+proposed · 1mo ago
  • Avoid repeated auth manager class lookup by moving get_auth_manager_cls into lockproposed · 1mo ago
▸

Everything we found

19,205 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 health11,314Untested hotspot · airflow-core/src/airflow/jobs/scheduler_job_runner.py118 findings · 10.0 deducted→
  • worst item is medium severity. Refactoring1,248upgrade+1.5 health, L effort · airflow-core/src/airflow/migrations/versions/0017_2_9_2_fix_inconsistency_between_ORM_and_migration_files.py→
  • worst item is medium severity. Decisions731airflow-core/tests/unit/jobs/test_scheduler_job.py38 awaiting review · 693 hotspots ungoverned→
  • worst item is medium severity. Ownership5,399providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py96% single-owner concentration, 9 commits in 90d→
  • worst item is low severity. Dead code513airflow-core/src/airflow/example_dags/example_task_group_decorator.pyUnreachable symbol (60 lines)→

Composition

Open the graph →
python 86%
typescript 11%shell 1%go 1%javascript 1%Other 1%

Explore this codebase

  • Docs11,386 pages across 24 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files10,273 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 909 entry points→
  • Code healthPer-file scores, 16,004 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.→