Versions in this module Expand all Collapse all v0 v0.5.1 May 14, 2024 Changes in this version type CodeData + Exclusion exclusion.Rules v0.5.0 Dec 19, 2023 Changes in this version + type CodeData struct + Cov coverage.Profile + Diff diff.Diff v0.4.0 Sep 28, 2022 Changes in this version + const DefaultTimeoutCoefficient + var TokenMutantType = map[token.Token][]mutator.Type + type Engine struct + func New(mod gomodule.GoModule, r coverage.Result, jDealer ExecutorDealer, ...) Engine + func (mu *Engine) Run(ctx context.Context) report.Results + type ExecutorDealer interface + NewExecutor func(mut mutator.Mutator, outCh chan<- mutator.Mutator, wg *sync.WaitGroup) workerpool.Executor + type ExecutorDealerOption func(j MutantExecutorDealer) MutantExecutorDealer + func WithExecContext(c execContext) ExecutorDealerOption + type MutantExecutorDealer struct + func NewExecutorDealer(mod gomodule.GoModule, wdd workdir.Dealer, elapsed time.Duration, ...) *MutantExecutorDealer + func (m MutantExecutorDealer) NewExecutor(mut mutator.Mutator, outCh chan<- mutator.Mutator, wg *sync.WaitGroup) workerpool.Executor + type NodeToken struct + TokPos token.Pos + func NewTokenNode(n ast.Node) (*NodeToken, bool) + func (n *NodeToken) SetTok(t token.Token) + func (n *NodeToken) Tok() token.Token + type Option func(m Engine) Engine + func WithDirFs(dirFS fs.FS) Option + type TokenMutator struct + func NewTokenMutant(pkg string, set *token.FileSet, file *ast.File, node *NodeToken) *TokenMutator + func (m *TokenMutator) Apply() error + func (m *TokenMutator) Pkg() string + func (m *TokenMutator) Pos() token.Pos + func (m *TokenMutator) Position() token.Position + func (m *TokenMutator) Rollback() error + func (m *TokenMutator) SetStatus(s mutator.Status) + func (m *TokenMutator) SetType(mt mutator.Type) + func (m *TokenMutator) SetWorkdir(path string) + func (m *TokenMutator) Status() mutator.Status + func (m *TokenMutator) Type() mutator.Type + func (m *TokenMutator) Workdir() string