go_mutesting

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoMutesting

type GoMutesting struct {
	// contains filtered or unexported fields
}

func NewGoMutesting

func NewGoMutesting() *GoMutesting

func (*GoMutesting) LoadResults

func (g *GoMutesting) LoadResults() error

func (*GoMutesting) Meta

func (g *GoMutesting) Meta() *fwlib.Meta

func (*GoMutesting) Mutations

func (g *GoMutesting) Mutations() mutations.Mutations

func (*GoMutesting) ReadLines

func (g *GoMutesting) ReadLines(file string) ([]string, error)

func (*GoMutesting) TransformResults

func (g *GoMutesting) TransformResults() error

func (*GoMutesting) Yaml

func (g *GoMutesting) Yaml() fwlib.FWConfig

type Mutation

type Mutation struct {
	Mutator Mutator `json:"mutator"`
}

type Mutator

type Mutator struct {
	MutatorName        string `json:"mutatorName"`
	OriginalSourceCode string `json:"originalSourceCode"`
	MutatedSourceCode  string `json:"mutatedSourceCode"`
	OriginalFilePath   string `json:"originalFilePath"`
	OriginalStartLine  int    `json:"originalStartLine"`
}

type Report

type Report struct {
	Escaped   []Mutation `json:"escaped"`
	Timeouted []Mutation `json:"timeouted"`
	Killed    []Mutation `json:"killed"`
	Errored   []Mutation `json:"errored"`
}

func (Report) Length added in v1.2.2

func (r Report) Length() int

type YamlConfig

type YamlConfig struct {
	JsonReport string `yaml:"json-report"`
}

type YamlWrapper

type YamlWrapper struct {
	Cfg *YamlConfig `yaml:"go-mutesting"`
}

func (*YamlWrapper) Init

func (y *YamlWrapper) Init() interface{}

func (*YamlWrapper) Load

func (y *YamlWrapper) Load(yml []byte) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL