Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectionMatrix ¶
type DetectionMatrix struct {
OverallDetections string `json:"overall_detections"`
}
type Evaluation ¶
type Evaluation struct {
MutationRuns []*MutationRuns `json:"mutation_runs"`
}
Evaluation marshals to evaluation.json from the mutest output data
type Mutation ¶
type Mutation struct {
MutationID int `json:"mutation_id"`
Location *Location `json:"origin_span"`
MutationOp string `json:"mutation_op"`
DisplayName string `json:"display_name"`
Substitutions []*Substitution `json:"substs"`
}
type MutationRuns ¶
type MutationRuns struct {
DetectionMatrix *DetectionMatrix `json:"mutation_detection_matrix"`
}
type Mutations ¶
type Mutations struct {
Mutations []*Mutation `json:"mutations"`
}
Mutations marshals to mutations.json from the mutest output data
type MutestRS ¶
type MutestRS struct {
// contains filtered or unexported fields
}
MutestRS wraps the evaluation.json and mutations.json objects into a single struct.
func NewMutestRS ¶
func NewMutestRS() *MutestRS
func (*MutestRS) LoadResults ¶
func (*MutestRS) TransformResults ¶
type Substitute ¶
type Substitute struct {
Replacement string `json:"replacement"`
}
type Substitution ¶
type Substitution struct {
Substitution *Substitute `json:"substitute"`
}
type YamlConfig ¶
type YamlConfig struct {
Run string `yaml:"run"`
Src string `yaml:"src"`
JsonDir string `yaml:"json-dir"`
}
YamlConfig represents Mutest-RS yml config data.
type YamlWrapper ¶
type YamlWrapper struct {
Cfg *YamlConfig `yaml:"mutest-rs"`
}
YamlWrapper used to load the mutest-rs configuration from the .marv.yml file.
func (*YamlWrapper) Init ¶
func (y *YamlWrapper) Init() interface{}
Click to show internal directories.
Click to hide internal directories.