package
Version:
v0.0.0-...-8023e94
Opens a new window with list of versions in this module.
Published: Feb 27, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Counts struct {
Count int `json:"count"`
Covered int `json:"covered"`
NotCovered int `json:"notcovered"`
Percent float32 `json:"percent"`
}
type Data struct {
Files []File `json:"files"`
Functions []Function `json:"functions,omitempty"`
Totals Summary `json:"totals"`
}
type Expansion struct {
Filenames []string `json:"filenames"`
SourceRegion []int `json:"source_region"`
TargetRegions [][]int `json:"target_regions"`
}
type Export struct {
Data []Data `json:"data"`
Type string `json:"type"`
Version string `json:"version"`
}
type File struct {
Expansions []Expansion `json:"expansions,omitempty"`
Filename string `json:"filename"`
Segments []Segment `json:"segments"`
Summary Summary `json:"summary"`
}
type Function struct {
Count int `json:"count"`
Filenames []string `json:"filenames"`
Name string `json:"name"`
Regions []Region `json:"regions"`
}
type Region struct {
LineStart int
ColumnStart int
LineEnd int
ColumnEnd int
ExecutionCount int
FileID int
ExpandedFileID int
Kind int
}
type Segment struct {
LineNumber int
ColumnNumber int
Count int
HasCount bool
IsRegionEntry bool
IsGapRegion bool
}
type Summary struct {
Functions Counts `json:"functions"`
Instantiations Counts `json:"instantiations"`
Lines Counts `json:"lines"`
Regions Counts `json:"regions"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.