pub struct Report {Show 21 fields
pub package: String,
pub mutants: Option<Vec<Candidate>>,
pub analysis: Analysis,
pub audit: Option<Audit>,
pub evaluation: Option<Evaluation>,
pub sites: usize,
pub skipped_sites: usize,
pub skipped: Vec<SkippedSite>,
pub unviable_mutants: usize,
pub mutants_not_built: usize,
pub mutants_not_evaluated: usize,
pub mutants_not_compiled: usize,
pub mutants_run: usize,
pub mutants_killed: usize,
pub mutants_timed_out: usize,
pub timeout_rechecks: TimeoutRechecks,
pub findings: Vec<Finding>,
pub suppressed: usize,
pub unreached: Vec<Location>,
pub unstable: Vec<Location>,
pub weakened: Vec<Location>,
}Fields§
§package: String§mutants: Option<Vec<Candidate>>§analysis: Analysis§audit: Option<Audit>Present when the run was asked to check itself.
evaluation: Option<Evaluation>§sites: usize§skipped_sites: usizeSites that could not be instrumented (the probe did not compile there).
skipped: Vec<SkippedSite>§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_not_compiled: usizeOf those, the mutants of code that is not part of this build (another target’s
file, or a cfg the features turn off).
mutants_run: usize§mutants_killed: usize§mutants_timed_out: usizeKilled mutants that were stopped by the timeout (typically an endless loop).
timeout_rechecks: TimeoutRechecks§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.
weakened: Vec<Location>Findings in code that did not change, of a file whose tests did (--since): the
tests as they were at the revision found these mutants out.
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.