reporter

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliLogger

type CliLogger struct {
	// contains filtered or unexported fields
}

func NewCliTabLogger

func NewCliTabLogger() *CliLogger

func (*CliLogger) Close

func (l *CliLogger) Close()

func (*CliLogger) Printf

func (l *CliLogger) Printf(fmtString string, args ...interface{})

type Logger

type Logger interface {
	Printf(string, ...interface{})
}

type Verifier

type Verifier struct {
	Out            Logger
	MinCov         float64
	GoSrcPath      string
	PrintSrc       bool
	PrintFunctions bool
}

func (Verifier) PrintFunctionReport

func (v Verifier) PrintFunctionReport(functions []profile.FunctionCoverage) error

func (Verifier) ReportCoverage

func (v Verifier) ReportCoverage(
	packageToFunctions map[string][]profile.FunctionCoverage,
	printFunctions bool,
	configFile []byte,
) (map[string]float64, error)

func (Verifier) VerifyCoverage

func (v Verifier) VerifyCoverage(pkg config.ConfigPackage, pc *analyzer.PackageCoverages) (bool, error)

Jump to

Keyboard shortcuts

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