Skip to main content

Module analyze

Module analyze 

Source
Expand description

Main analysis engine for extracting code structure from files and directories.

Implements the three analysis modes: Overview (directory structure), FileDetails (semantic extraction), and SymbolFocus (call graph analysis). Handles parallel processing and cancellation.

Structs§

AnalysisOutput
Result of directory analysis containing both formatted output and file data.
FileAnalysisOutput
Result of file-level semantic analysis.
FocusedAnalysisOutput
Result of focused symbol analysis.

Enums§

AnalyzeError

Functions§

analyze_directory
Analyze a directory structure and return formatted output and file data.
analyze_directory_with_progress
Analyze a directory structure with progress tracking.
analyze_file
Analyze a single file and return semantic analysis with formatted output.
analyze_focused
Analyze a symbol’s call graph with use_summary parameter (internal). Analyze a symbol’s call graph across a directory.
analyze_focused_with_progress
Analyze a symbol’s call graph across a directory with progress tracking.
determine_mode
Determine analysis mode based on parameters and path.