Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metrics ¶
type Metrics struct {
// Executed is the number of benchmarking candidates with successful execution.
Executed uint
// Problems is the number of benchmarking candidates with problems.
Problems uint
// Total is the total number of benchmarking candidates.
Total uint
// Coverage holds the coverage of the benchmarking candidates.
Coverage []float64
}
Metrics holds numerical benchmarking metrics.
func EvaluateRepository ¶
func EvaluateRepository(model model.Model, language language.Language, repositoryPath string) (metrics Metrics, problems []error, err error)
EvaluateRepository evaluate a repository with the given model and language.
func (Metrics) AverageCoverage ¶
AverageCoverage returns the average coverage.
Click to show internal directories.
Click to hide internal directories.