robots/coverage/diff/view.go
func makeTable(baseCovList, newCovList *calculation.CoverageList, coverageThreshold float32) (string, bool) {
	var rows []string
	isCoverageLow := false
	for _, change := range findChanges(baseCovList, newCovList) {
		filePath := change.name
		rows = append(rows, fmt.Sprintf("%s | %s | %s | %s",
			filePath,
			formatPercentage(change.baseRatio),
			formatPercentage(change.newRatio),
			deltaDisplayed(change)))

		if change.newRatio < coverageThreshold {
			isCoverageLow = true
		}
	}
	return strings.Join(rows, "\n"), isCoverageLow
}
func makeTable(baseCovList, newCovList *calculation.CoverageList, coverageThreshold float32) (string, bool) {
	var rows []string
	isCoverageLow := false
	for _, change := range findChanges(baseCovList, newCovList) {
		filePath := change.name
		rows = append(rows, fmt.Sprintf("%s | %s | %s | %s",
			filePath,
			formatPercentage(change.baseRatio),
			formatPercentage(change.newRatio),
			deltaDisplayed(change)))

		if change.newRatio < coverageThreshold {
			isCoverageLow = true
		}
	}
	return strings.Join(rows, "\n"), isCoverageLow
}
// makeTable checks each coverage change and produce the table content for coverage bot post
// It also report on whether any coverage fells below the given threshold