pub struct CoverageGuidedGenerator { /* private fields */ }Expand description
Coverage-guided generator that fills gaps in n-gram model
Implementations§
Source§impl CoverageGuidedGenerator
impl CoverageGuidedGenerator
Sourcepub fn generate(&self, base_commands: &[String], count: usize) -> Vec<String>
pub fn generate(&self, base_commands: &[String], count: usize) -> Vec<String>
Generate commands that exercise underrepresented n-grams
Sourcepub fn coverage_report(&self, commands: &[String]) -> CoverageReport
pub fn coverage_report(&self, commands: &[String]) -> CoverageReport
Report coverage stats
Auto Trait Implementations§
impl Freeze for CoverageGuidedGenerator
impl RefUnwindSafe for CoverageGuidedGenerator
impl Send for CoverageGuidedGenerator
impl Sync for CoverageGuidedGenerator
impl Unpin for CoverageGuidedGenerator
impl UnwindSafe for CoverageGuidedGenerator
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