pub struct ComplexityMetrics {
pub task_count: usize,
pub edge_count: usize,
pub depth: usize,
pub width: usize,
pub branching_factor: f64,
pub cyclomatic_complexity: usize,
}Expand description
Workflow complexity metrics.
Fields§
§task_count: usizeTotal number of tasks.
edge_count: usizeTotal number of edges.
depth: usizeMaximum depth (longest path).
width: usizeMaximum width (parallel tasks).
branching_factor: f64Average branching factor.
cyclomatic_complexity: usizeCyclomatic complexity.
Implementations§
Trait Implementations§
Source§impl Clone for ComplexityMetrics
impl Clone for ComplexityMetrics
Source§fn clone(&self) -> ComplexityMetrics
fn clone(&self) -> ComplexityMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ComplexityMetrics
impl RefUnwindSafe for ComplexityMetrics
impl Send for ComplexityMetrics
impl Sync for ComplexityMetrics
impl Unpin for ComplexityMetrics
impl UnsafeUnpin for ComplexityMetrics
impl UnwindSafe for ComplexityMetrics
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