coveragebranch

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package coveragebranch maps gocove branches to native Go coverage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Measure

func Measure(reportJSON []byte, profile io.Reader) (int, int, error)

Measure reports covered and total branch targets. Strict native profile overlap avoids gocove's nested-branch association bug.

func MeasureExcluding

func MeasureExcluding(
	reportJSON []byte,
	profile io.Reader,
	excludedImportPaths ...string,
) (int, int, error)

MeasureExcluding reports branch coverage outside test-only packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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