coverage

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeCoverageSummary

func ComputeCoverageSummary(project *model.ProjectAnnotation, opts *ComputeOptions) map[string]*coverage.Summary

depends: Line.CoverageLabels

func ComputeCoverageSummaryChecked added in v0.0.11

func ComputeCoverageSummaryChecked(project *model.ProjectAnnotation, opts *ComputeOptions) (map[string]*coverage.Summary, error)

ComputeCoverageSummaryChecked validates before the first derived mutation.

func LineChanged

func LineChanged(fileData *model.FileAnnotation, lineData *model.LineAnnotation) bool

func LineUncoverableOrExcluded

func LineUncoverableOrExcluded(lineData *model.LineAnnotation) bool

func UpdateCoverageDetail

func UpdateCoverageDetail(label string, covered bool, changed bool, detail *coverage.Detail, needUncoveredList bool, file string, lineNum int, funcName string) *coverage.Detail

func UpdateCoverageValue

func UpdateCoverageValue(detail *coverage.Detail)

Types

type ComputeOptions

type ComputeOptions struct {
	LabelOptions      map[string]*compute.LabelOption
	DisableFunc       bool
	NeedUncoveredList bool
}

Jump to

Keyboard shortcuts

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