This guide focuses on effective day-to-day use of BackLens.
Extension mode:
- Run BackLens: Analyze Folder.
- Wait for parse, graph build, and DB save completion.
- Open graph view.
Standalone mode:
- Parse project with parser package.
- Build graph JSON.
- Save SQLite.
- Start API and web UI.
Use search in the left panel to find functions, methods, classes, or files and add them to the graph.
In Hotspots tab:
- Click Load.
- Choose a hotspot to open centered context.
Hotspots help you find highly connected nodes quickly.
In Classes tab:
- Load classes.
- Expand a class to lazy-load methods.
- Click class/method to add it to graph.
From inspector:
- Expand Callers shows who depends on the selected node.
Use this to trace impact radius.
From inspector:
- Expand Callees shows what the selected node depends on.
Use this to trace dependencies.
Use path operations (available in provider/API contracts) to inspect shortest or full path chains between two nodes.
In extension mode:
- Double-click a graph node to navigate to source location.
- Or use BackLens: Go to Source command path.
Use BackLens explorer actions:
- Re-analyze Folder to refresh graph from latest code.
- Close Project to unload current context.
- Function: standalone callable code unit.
- Method: callable member of a class.
- Class: object-oriented container for methods.
- File: source file container node.
- External: dependency outside your codebase.
- Placeholder: unresolved or intermediate call target.
- Caller edge direction means source node invokes target node.
- Expand Callers moves upstream to dependents.
- Expand Callees moves downstream to dependencies.
Hotspots are nodes with high fan-in and fan-out score. These often indicate coordination-heavy or risky change points.
External nodes represent modules/framework calls not modeled as local source nodes.
Unresolved edges can appear due to:
- dynamic dispatch
- runtime-generated behavior
- framework indirection
- alias-heavy patterns
This is expected in static analysis workflows.