Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintPretty ¶
func PrintPretty(output io.Writer, errs []CoverageError)
Types ¶
type CoverageError ¶
type CoverageError struct {
Type CoverageErrorType
AffectedFile string
ExpectedThreshold float64
ActualCovered float64
}
func Evaluate ¶
func Evaluate(cs *statistic.CoverageStatistic, cfg config.CoverageConfig) (errs []CoverageError, err error)
type CoverageErrorType ¶
type CoverageErrorType string
const ( CoverageErrorStmt CoverageErrorType = "statements" CoverageErrorFunc CoverageErrorType = "functions" )
Click to show internal directories.
Click to hide internal directories.