pub enum AnalysisPhase {
Show 13 variants
Initialized,
CallGraphBuilding,
CallGraphComplete,
CoverageLoading,
CoverageComplete,
PurityAnalyzing,
PurityComplete,
ContextLoading,
ContextComplete,
ScoringInProgress,
ScoringComplete,
FilteringInProgress,
Complete,
}Expand description
Analysis workflow phases.
Each phase represents a distinct step in the analysis pipeline. Transitions between phases are validated by pure guard functions.
Variants§
Initialized
Initial state after config validation.
CallGraphBuilding
Building the function call graph.
CallGraphComplete
Call graph built successfully.
CoverageLoading
Loading LCOV coverage data.
CoverageComplete
Coverage loaded (or skipped if not provided).
PurityAnalyzing
Analyzing function purity.
PurityComplete
Purity analysis complete.
ContextLoading
Loading context providers.
ContextComplete
Context loaded (or skipped).
ScoringInProgress
Computing debt scores.
ScoringComplete
Scores computed.
FilteringInProgress
Filtering and ranking results.
Complete
Analysis complete.
Implementations§
Source§impl AnalysisPhase
impl AnalysisPhase
Sourcepub fn is_final(&self) -> bool
pub fn is_final(&self) -> bool
Returns true if this is a final state (no more transitions possible)
Sourcepub fn display_name(&self) -> &'static str
pub fn display_name(&self) -> &'static str
Returns the display name for progress reporting
Sourcepub fn tui_stage_index(&self) -> Option<usize>
pub fn tui_stage_index(&self) -> Option<usize>
Returns the TUI stage index for this phase (0-based)
Trait Implementations§
Source§impl Clone for AnalysisPhase
impl Clone for AnalysisPhase
Source§fn clone(&self) -> AnalysisPhase
fn clone(&self) -> AnalysisPhase
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 AnalysisPhase
impl Debug for AnalysisPhase
Source§impl Default for AnalysisPhase
impl Default for AnalysisPhase
Source§fn default() -> AnalysisPhase
fn default() -> AnalysisPhase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalysisPhase
impl<'de> Deserialize<'de> for AnalysisPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnalysisPhase
impl PartialEq for AnalysisPhase
Source§impl Serialize for AnalysisPhase
impl Serialize for AnalysisPhase
impl Copy for AnalysisPhase
impl Eq for AnalysisPhase
impl StructuralPartialEq for AnalysisPhase
Auto Trait Implementations§
impl Freeze for AnalysisPhase
impl RefUnwindSafe for AnalysisPhase
impl Send for AnalysisPhase
impl Sync for AnalysisPhase
impl Unpin for AnalysisPhase
impl UnwindSafe for AnalysisPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more