pub struct AnalysisConfig {
pub max_instructions: usize,
pub max_depth: usize,
pub detect_loops: bool,
pub calculate_metrics: bool,
pub enable_call_graph: bool,
pub enable_cognitive_complexity: bool,
pub enable_advanced_loops: bool,
pub call_graph_config: Option<CallGraphConfig>,
}Expand description
Configuration for control flow analysis
Fields§
§max_instructions: usizeMaximum number of instructions to analyze per function
max_depth: usizeMaximum depth for recursive analysis
detect_loops: boolEnable loop detection
calculate_metrics: boolEnable complexity metrics calculation
enable_call_graph: boolEnable call graph construction
enable_cognitive_complexity: boolEnable cognitive complexity calculation
enable_advanced_loops: boolEnable advanced loop analysis
call_graph_config: Option<CallGraphConfig>Call graph configuration
Trait Implementations§
Source§impl Clone for AnalysisConfig
impl Clone for AnalysisConfig
Source§fn clone(&self) -> AnalysisConfig
fn clone(&self) -> AnalysisConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnalysisConfig
impl Debug for AnalysisConfig
Auto Trait Implementations§
impl Freeze for AnalysisConfig
impl RefUnwindSafe for AnalysisConfig
impl Send for AnalysisConfig
impl Sync for AnalysisConfig
impl Unpin for AnalysisConfig
impl UnwindSafe for AnalysisConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more