Expand description
Expression complexity analysis for TLExpr trees.
This module provides comprehensive complexity metrics, threshold-based warnings, expression comparison, and batch statistics for analyzing the structural complexity of logical expressions before compilation.
Structs§
- Batch
Complexity Stats - Aggregate complexity statistics for a batch of expressions.
- Complexity
Comparison - Side-by-side comparison of complexity between two expressions.
- Complexity
Thresholds - Configurable thresholds for complexity warnings.
- Complexity
Warning - A complexity warning produced by
check_complexity. - Expr
Complexity - Comprehensive complexity metrics for a TLExpr tree.
Enums§
- Warning
Severity - Severity level for a complexity warning.
Functions§
- check_
complexity - Check complexity metrics against thresholds and return any warnings.