Skip to content

Layer 2: AST + LSP Bindings

Map

graph LR
    F0["models<br/>refs: 59"]
    F1["constants<br/>refs: 55"]
    F2["retrieval_constants<br/>refs: 38"]
    F3["models<br/>refs: 38"]
    F4["types<br/>refs: 36"]
    F5["models<br/>refs: 30"]
    F6["errors<br/>refs: 29"]
    F7["errors<br/>refs: 29"]
    F8["errors<br/>refs: 29"]
    F9["models<br/>refs: 28"]
    F10["models<br/>refs: 27"]
    F11["file_utils<br/>refs: 24"]
    F12["file_utils<br/>refs: 24"]
    F13["file_utils<br/>refs: 24"]
    F14["base<br/>refs: 23"]
    F15["common<br/>refs: 22"]
    F16["utils<br/>refs: 22"]
    F17["xpia_defense_interface<br/>refs: 22"]
    F18["event_bus<br/>refs: 20"]
    F19["uvx_launcher<br/>refs: 19"]
    F20["uvx_models<br/>refs: 18"]
    F21["considerations<br/>refs: 17"]
    F22["orchestrator<br/>refs: 17"]
    F23["orchestrator<br/>refs: 17"]
    F24["orchestrator<br/>refs: 17"]
    F25["__init__<br/>refs: 17"]
    F26["exceptions<br/>refs: 17"]
    F27["output_validator<br/>refs: 17"]
    F28["models<br/>refs: 16"]
    F29["models<br/>refs: 16"]
    F22 --> F6
    F23 --> F7
    F24 --> F8

    click F0 "../ast-lsp-bindings/" "View AST bindings"

AST + LSP Bindings - Graphviz

Metric Value
Total definitions 14707
Total exports 2264
Total imports 16418
Potentially dead 426
Files with __all__ 427

Legend

Symbol Meaning
Rectangle Source file
Arrow Import dependency
refs: N Total reference count

Key Findings

  • 14707 total definitions across all files
  • 426 potentially dead definitions (2.9% of total)
  • 1928 files without __all__ exports

Detail

Full data (click to expand)

Summary metrics:

  • Total Definitions: 14707
  • Total Exports: 2264
  • Total Imports: 16418
  • Potentially Dead Count: 426
  • Files With All: 427
  • Files Without All: 1928
  • Importlib Dynamic Imports: 43
  • Language Counts:
    • python: 14707

Cross-References