lcov

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package lcov parses LCOV .info coverage files produced by gcov, Istanbul/nyc, Rust tarpaulin, and any other tool emitting the LCOV format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser handles LCOV .info files.

func (Parser) Detect

func (Parser) Detect(header []byte) bool

Detect reports whether header looks like an LCOV .info file.

func (Parser) Extensions

func (Parser) Extensions() []string

Extensions returns the file extensions this parser handles.

func (Parser) Name

func (Parser) Name() string

Name returns the parser identifier.

func (Parser) Parse

func (Parser) Parse(r io.Reader, source string) (*covmodel.CovReport, error)

Parse reads an LCOV .info file from r and returns a CovReport.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL