·pallets/flask·2 snapshots·26d ago
Code

Blast radius, hotspots, duplicates.

Pick a file from the heaviest-files or top-complex lists to see what breaks if you change it. Incoming = files that depend on this. Outgoing = what this depends on. Hops capped at 3 so central files don't show "everything".

AST files
83Python
Functions
1,460with complexity
Call sites
3,909
Regex fallback
22imports only
Blast radius for
file complexity 129
src/flask/app.py
Incoming — what breaks if this changes
49 files
hop 1: 10hop 2: 25hop 3: 1434 cross-module
  • 1
    examples/celery/src/task_app/__init__.py
  • 1
    src/flask/__init__.py
  • 1
    src/flask/cli.py
  • 1
    src/flask/ctx.py
  • 1
    src/flask/globals.py
  • 1
    src/flask/sessions.py
  • 1
    src/flask/testing.py
  • 1
    tests/test_async.py
  • 1
    tests/test_blueprints.py
  • 1
    tests/test_request.py
Outgoing — what this depends on
28 files
hop 1: 13hop 2: 14hop 3: 112 cross-module
  • 1
    examples/tutorial/flaskr/blog.py
  • 1
    src/flask/__init__.py
  • 1
    src/flask/ctx.py
  • 1
    src/flask/debughelpers.py
  • 1
    src/flask/globals.py
  • 1
    src/flask/helpers.py
  • 1
    src/flask/sansio/app.py
  • 1
    src/flask/sessions.py
  • 1
    src/flask/signals.py
  • 1
    src/flask/templating.py
10% prod fns covered
Heaviest files(by file complexity, not function count)
Most complex functions(click to zoom into function blast radius)