(category string)
| 180 | } |
| 181 | |
| 182 | func normalizeCodeCommentCategory(category string) string { |
| 183 | normalized := strings.ToLower(category) |
| 184 | if _, ok := validCodeCommentCategories[normalized]; ok { |
| 185 | return normalized |
| 186 | } |
| 187 | return codeCommentCategoryOther |
| 188 | } |
| 189 | |
| 190 | func normalizeCodeCommentSeverity(severity string) string { |
| 191 | normalized := strings.ToLower(severity) |
no outgoing calls
no test coverage detected