coverage

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 6 Imported by: 0

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 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