pub struct MutationReport {Show 21 fields
pub schema_version: MutationSchemaVersion,
pub version: ToolVersion,
pub elapsed_ms: ElapsedMs,
pub completion: MutationCompletion,
pub scope: MutationScopeOutput,
pub runner: Option<MutationRunnerOutput>,
pub cache: Option<MutationCacheOutput>,
pub summary: MutationSummary,
pub mutants: Vec<MutantResult>,
pub functions: Vec<MutationFunctionResult>,
pub no_test_files: bool,
pub baseline_failures: Vec<MutationBaselineFailure>,
pub skipped_files: Vec<MutationSkippedFile>,
pub unmatched_paths: Vec<String>,
pub unloaded_paths: Vec<String>,
pub worktree: MutationWorktreeCheck,
pub errors: Vec<MutationRunIssue>,
pub timings: MutationTimings,
pub files: Vec<MutationPlanFile>,
pub verdicts: Option<MutationVerdictJoin>,
pub typecheck: Option<MutationTypecheckOutput>,
}Expand description
The envelope of fallow mutation.
Fields§
§schema_version: MutationSchemaVersionIndependent schema version.
version: ToolVersionThe Fallow version.
elapsed_ms: ElapsedMsThe total wall time.
completion: MutationCompletionWhether the result is conclusive.
scope: MutationScopeOutputThe mutated code.
runner: Option<MutationRunnerOutput>The runner. Absent when no companion started, for example when no test file reaches a mutant.
cache: Option<MutationCacheOutput>The result cache. Absent with --no-cache, and when no companion
started.
summary: MutationSummaryThe totals.
mutants: Vec<MutantResult>Each mutant, ranked mutants first.
functions: Vec<MutationFunctionResult>The results per enclosing function, by file and line.
no_test_files: boolTrue when the project has no test files.
baseline_failures: Vec<MutationBaselineFailure>The tests and test files that failed with no active mutant.
skipped_files: Vec<MutationSkippedFile>The selected files that the plan did not instrument.
unmatched_paths: Vec<String>The paths of a paths scope that select no file.
unloaded_paths: Vec<String>The instrumented files that the runner never loaded.
worktree: MutationWorktreeCheckThe git worktree check.
errors: Vec<MutationRunIssue>The errors that did not stop the run.
timings: MutationTimingsThe wall time of each phase.
files: Vec<MutationPlanFile>The mutated files with their SHA-256 digest at plan time, sorted by
path. fallow mutation inspect compares the digest with the current
file.
verdicts: Option<MutationVerdictJoin>The join with a verdict document. Absent when the run read no verdict
document (--verdicts not set).
typecheck: Option<MutationTypecheckOutput>The type check of the survivors. Absent when the run did not check
them (--typecheck not set).