coverage

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coverage

type Coverage struct {
	Name     string           `json:"name"`
	Coverage float64          `json:"coverage"`
	Tables   []*TableCoverage `json:"tables"`
	Covered  int              `json:"-"`
	Total    int              `json:"-"`
}

func Measure

func Measure(s *schema.Schema) *Coverage

Measure coverage

type TableCoverage

type TableCoverage struct {
	Name     string  `json:"name"`
	Coverage float64 `json:"coverage"`
	Covered  int     `json:"-"`
	Total    int     `json:"-"`
}

Jump to

Keyboard shortcuts

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