Magic486/moon_mutest/run does not have a README file
pub(all) struct BaselineReport {
outcome : BaselineOutcome
command_count : Int
executed_count : Int
failed_index : Int?
failed_phase : CommandPhase?
can_run_mutants : Bool
detail : String
} derive(Eq, ToJson, Debug)pub(all) struct BatchPlan {
strategy : BatchStrategy
selection : SelectionMode
batch_count : Int
execution_count : Int
command_count : Int
estimated_timeout_ms : Int
valid : Bool
message : String
batches : Array[ExecutionBatch]
} derive(Eq, ToJson, Debug)pub(all) struct CommandResult {
phase : CommandPhase
exit_code : Int?
stdout : String
stderr : String
timed_out : Bool
} derive(Eq, ToJson, Debug)pub(all) struct ExecutionBatch {
batch_id : Int
start_index : Int
end_index : Int
execution_count : Int
command_count : Int
estimated_timeout_ms : Int
executions : Array[MutationExecution]
} derive(Eq, ToJson, Debug)pub(all) struct ExecutionPlan {
config : MutestConfig
project : ProjectMutationPlan
executions : Array[MutationExecution]
truncated : Bool
} derive(Eq, ToJson, Debug)pub(all) struct MutantResult {
candidate : MutationCandidate
outcome : MutantOutcome
detail : String
} derive(Eq, ToJson, Debug)pub(all) struct MutationExecution {
mutation : ProjectMutation
edit : TextEdit
restore_edit : TextEdit
commands : Array[RunnerCommand]
} derive(Eq, ToJson, Debug)pub(all) struct MutestConfig {
include_kinds : Array[MutationKind]
include_labels : Array[String]
line_start : Int?
line_end : Int?
commands : Array[RunnerCommand]
fail_fast : Bool
max_mutants : Int?
report_format : ReportFormat
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct ProjectMutantResult {
mutation : ProjectMutation
outcome : MutantOutcome
detail : String
} derive(Eq, ToJson, Debug)pub(all) struct ProjectRunReport {
file_count : Int
mutation_count : Int
killed : Int
survived : Int
compile_error : Int
timeout : Int
skipped : Int
equivalent : Int
score_percent : Int
files : Array[FileRunReport]
results : Array[ProjectMutantResult]
} derive(Eq, ToJson, Debug)pub(all) struct QualityGateReport {
status : QualityGateStatus
score_percent : Int
scored_mutants : Int
total_mutants : Int
killed : Int
survived : Int
compile_error : Int
timeout : Int
skipped : Int
equivalent : Int
violations : Array[QualityGateViolation]
message : String
} derive(Eq, ToJson, Debug)pub(all) struct RunnerCommand {
phase : CommandPhase
command : String
timeout_ms : Int
} derive(Eq, ToJson, Debug, FromJson)pub(all) struct RunnerScript {
dialect : ShellDialect
selection : SelectionMode
mutant_count : Int
content : String
} derive(Eq, ToJson, Debug)pub(all) struct SelectionReport {
mode : SelectionMode
input_count : Int
selected_count : Int
skipped_count : Int
selected_ids : Array[Int]
valid : Bool
message : String
} derive(Eq, ToJson, Debug)fn build_execution_plan_with_profile(files : ArrayView[SourceFile], config : MutestConfig, profile : RuleProfile) -> ExecutionPlanfn build_selected_batch_plan(plan : ExecutionPlan, selection : SelectionMode, strategy : BatchStrategy) -> BatchPlanfn classify_baseline(expected : ArrayView[RunnerCommand], results : ArrayView[CommandResult]) -> BaselineReportfn classify_project_sequence(mutation : ProjectMutation, commands : ArrayView[CommandResult]) -> ProjectMutantResultfn classify_sequence(candidate : MutationCandidate, commands : ArrayView[CommandResult]) -> MutantResultfn command_failure(phase : CommandPhase, code : Int, stdout? : String, stderr? : String) -> CommandResultfn discover_with_rules(source : String, rules : ArrayView[MutationRule], file? : String) -> Array[MutationCandidate]fn evaluate_quality_gate_after_baseline(report : ProjectRunReport, gate : QualityGate, baseline : BaselineReport) -> QualityGateReportfn filter_candidates(candidates : ArrayView[MutationCandidate], filter : MutationFilter) -> Array[MutationCandidate]fn format_unified_diff(file : String, line : Int, before : String, after : String) -> Stringfn generate_selected_runner_script(plan : ExecutionPlan, mode : SelectionMode, dialect : ShellDialect) -> RunnerScriptfn plan_project_with_rules(files : ArrayView[SourceFile], filter : MutationFilter, rules : ArrayView[MutationRule]) -> ProjectMutationPlanfn project_result(mutation : ProjectMutation, outcome : MutantOutcome, detail? : String) -> ProjectMutantResultfn select_project_mutations(plan : ProjectMutationPlan, mode : SelectionMode) -> Array[ProjectMutation]fn skip_execution_results_for_baseline(plan : ExecutionPlan, report : BaselineReport) -> Array[ProjectMutantResult]fn summarize_candidates(file : String, candidates : ArrayView[MutationCandidate]) -> MutationSummaryfn summarize_project_run(plan : ProjectMutationPlan, results : ArrayView[ProjectMutantResult]) -> ProjectRunReportMutation testing toolkit for MoonBit projects
Dependencies