pub struct MutationReport {
pub total: usize,
pub killed: usize,
pub survived: usize,
pub timed_out: usize,
pub score: f64,
pub results: Vec<MutantResult>,
}Expand description
Summary of a mutation testing run.
Fields§
§total: usizeTotal mutants generated and tested.
killed: usizeMutants killed by the verify command (verify failed).
survived: usizeMutants that survived (verify still passed = weak gate).
timed_out: usizeMutants where verify timed out (counted as killed).
score: f64Mutation score as a percentage (killed / total * 100).
results: Vec<MutantResult>Details of each mutant test.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MutationReport
impl RefUnwindSafe for MutationReport
impl Send for MutationReport
impl Sync for MutationReport
impl Unpin for MutationReport
impl UnsafeUnpin for MutationReport
impl UnwindSafe for MutationReport
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