Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoverageData ¶
type DefaultLoader ¶
type DefaultLoader struct {
// contains filtered or unexported fields
}
func NewReportLoader ¶
func NewReportLoader() *DefaultLoader
type Line ¶
type Line struct {
XMLName xml.Name `xml:"line"`
CoverageData
LineNumber int `xml:"nr,attr"`
}
type Package ¶
type Package struct {
XMLName xml.Name `xml:"package"`
RelativeName string `xml:"name,attr"`
SourceFiles []SourceFile `xml:"sourcefile"`
}
func (Package) GetCoverageData ¶
type SourceFile ¶
type SourceFile struct {
XMLName xml.Name `xml:"sourcefile"`
RelativeName string `xml:"name,attr"`
Lines []Line `xml:"line"`
}
func (SourceFile) GetCoverageData ¶
func (f SourceFile) GetCoverageData(lineNumber int) (*domain.CoverageData, bool)
Click to show internal directories.
Click to hide internal directories.