Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGCovParser ¶
func NewGCovParser(fileReader filereader.Reader) parsers.IParser
NewGCovParser creates a new parser instance.
Types ¶
type GCovParser ¶
type GCovParser struct {
// contains filtered or unexported fields
}
GCovParser implements the parsers.IParser interface for gcov reports.
func (*GCovParser) Name ¶
func (p *GCovParser) Name() string
Name returns the unique, human-readable name of the parser.
func (*GCovParser) Parse ¶
func (p *GCovParser) Parse(filePath string, config parsers.ParserConfig) (*parsers.ParserResult, error)
Parse reads the gcov report from disk and delegates processing to the orchestrator. It then returns the resulting flat list of file coverage data.
func (*GCovParser) SupportsFile ¶
func (p *GCovParser) SupportsFile(filePath string) bool
SupportsFile checks if the file is a gcov report by reading its first line for the characteristic "0:Source:" marker.
Click to show internal directories.
Click to hide internal directories.