Skip to main content

Module source_complexity

Module source_complexity 

Source
Expand description

Source-level complexity helpers shared by review-oriented surfaces.

These helpers are intentionally lightweight and heuristic. They preserve function-scoped Rust complexity for cockpit review gates without pulling in the full analysis preset pipeline or changing receipt schemas.

Structs§

RustAnalyzer
Heuristic Rust analyzer used by cockpit review gates.
RustFunctionComplexitySummary
Summary of function-scoped Rust complexity for one source file.

Traits§

SourceAnalyzer
Testable source analyzer seam for review and gate callers.

Functions§

analyze_rust_function_complexity
Analyze function-scoped cyclomatic complexity of Rust source code.