Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileResult ¶
type FileResult struct {
Language string `json:"language"`
Mutants []MutantResult `json:"mutants"`
Source string `json:"source"`
}
FileResult contains the files language, mutants and unedited source code.
type FileResultDictionary ¶
type FileResultDictionary map[string]FileResult
FileResultDictionary is a dictionary that stores FileResults against their string file paths.
type Location ¶
Location describes a range within the source code. Start is inclusive, end is exclusive.
type MTE ¶
type MTE struct {
// contains filtered or unexported fields
}
func (*MTE) RawMutationsCount ¶
func (*MTE) Transform ¶
func (m *MTE) Transform(bar *progressbar.ProgressBar)
type MutantResult ¶
type MutantResult struct {
ID string `json:"id"`
MutatorName string `json:"mutatorName"`
Replacement string `json:"replacement"`
Location Location `json:"location"`
Status MTEStatus `json:"status"`
Description string `json:"description"`
}
MutantResult contains the data about a specific mutant.
type MutationTestResult ¶
type MutationTestResult struct {
SchemaVersion string `json:"schemaVersion"`
Files FileResultDictionary `json:"files"`
}
MutationTestResult represents the main Mutation Testing Elements JSON file.
func (*MutationTestResult) CountMutations ¶
func (m *MutationTestResult) CountMutations() int
Click to show internal directories.
Click to hide internal directories.