pub struct ReplayAnalysis {
pub total_mutations: usize,
pub replayable: usize,
pub missing_data: usize,
pub parse_errors: usize,
pub with_pre_state: usize,
pub with_post_state: usize,
pub unreplayable_types: Vec<String>,
}Expand description
Analysis of replay capability for a log.
Fields§
§total_mutations: usizeTotal mutation entries in the log.
replayable: usizeMutations that can be replayed.
missing_data: usizeMutations missing mutation_data.
parse_errors: usizeMutations with parse errors.
with_pre_state: usizeMutations with pre_state recorded.
with_post_state: usizeMutations with post_state recorded.
unreplayable_types: Vec<String>Types that cannot be replayed (with reasons).
Implementations§
Source§impl ReplayAnalysis
impl ReplayAnalysis
Sourcepub fn replayable_percentage(&self) -> f64
pub fn replayable_percentage(&self) -> f64
Percentage of mutations that can be replayed.
Sourcepub fn is_fully_replayable(&self) -> bool
pub fn is_fully_replayable(&self) -> bool
Check if full replay is possible.
Sourcepub fn can_verify(&self) -> bool
pub fn can_verify(&self) -> bool
Check if verified replay is possible (all states recorded).
Trait Implementations§
Source§impl Debug for ReplayAnalysis
impl Debug for ReplayAnalysis
Source§impl Default for ReplayAnalysis
impl Default for ReplayAnalysis
Source§fn default() -> ReplayAnalysis
fn default() -> ReplayAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplayAnalysis
impl RefUnwindSafe for ReplayAnalysis
impl Send for ReplayAnalysis
impl Sync for ReplayAnalysis
impl Unpin for ReplayAnalysis
impl UnsafeUnpin for ReplayAnalysis
impl UnwindSafe for ReplayAnalysis
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> 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