pub struct Report {Show 15 fields
pub package: String,
pub analysis: Analysis,
pub audit: Option<Audit>,
pub sites: usize,
pub skipped_sites: usize,
pub unviable_mutants: usize,
pub mutants_not_built: usize,
pub mutants_not_evaluated: usize,
pub mutants_run: usize,
pub mutants_killed: usize,
pub mutants_timed_out: usize,
pub findings: Vec<Finding>,
pub suppressed: usize,
pub unreached: Vec<Location>,
pub unstable: Vec<Location>,
}Fields§
§package: String§analysis: Analysis§audit: Option<Audit>Present when the run was asked to check itself.
sites: usize§skipped_sites: usizeSites that could not be instrumented (the probe did not compile there).
unviable_mutants: usizeValues a function’s body was to be replaced by that do not have its type
(Default::default() for a type without a default): those mutants do not exist.
mutants_not_built: usizeMutants that need a build of their own and were not asked for (--rebuild).
mutants_not_evaluated: usizeMutants that could not be run as what they are (a range that ends at the largest value of its type cannot be made to include it): neither killed nor survivors.
mutants_run: usize§mutants_killed: usize§mutants_timed_out: usizeKilled mutants that were stopped by the timeout (typically an endless loop).
findings: Vec<Finding>§suppressed: usizeFindings left out because of a // tmt:ignore comment or the baseline.
unreached: Vec<Location>Code no test executes.
unstable: Vec<Location>Survivors predicted from the trace that a re-run killed: the tests are not deterministic.
Implementations§
Source§impl Report
impl Report
Sourcepub fn sort_findings(&mut self)
pub fn sort_findings(&mut self)
Puts the findings in reading order. Sites are numbered as they are discovered, and a statement is discovered before the expressions of the statements above it.