gopherage/pkg/cov/junit/calculation/coverage.go
func (c *Coverage) Ratio() float32 {
	if c.NumAllStmts == 0 {
		return 1
	}
	return float32(c.NumCoveredStmts) / float32(c.NumAllStmts)
}
func (c *Coverage) Ratio() float32 {
	if c.NumAllStmts == 0 {
		return 1
	}
	return float32(c.NumCoveredStmts) / float32(c.NumAllStmts)
}
// Ratio returns the percentage of statements that are covered