gocover

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStatements

type FileStatements struct {
	Percent      float64
	Stmts        int64
	CoveredStmts int64
}

type PackageStatements

type PackageStatements struct {
	Package      string
	Files        map[string]*FileStatements
	Percent      float64
	Stmts        int64
	CoveredStmts int64
}

func ByPackage

func ByPackage(profiles []*cover.Profile) []*PackageStatements

func ReadByPackage added in v1.1.0

func ReadByPackage(r io.Reader) ([]*PackageStatements, error)

Jump to

Keyboard shortcuts

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