(category string)
| 161 | } |
| 162 | |
| 163 | func normalizeCodeCommentCategory(category string) string { |
| 164 | normalized := strings.ToLower(category) |
| 165 | if _, ok := validCodeCommentCategories[normalized]; ok { |
| 166 | return normalized |
| 167 | } |
| 168 | return codeCommentCategoryOther |
| 169 | } |
| 170 | |
| 171 | func normalizeCodeCommentSeverity(severity string) string { |
| 172 | normalized := strings.ToLower(severity) |
no outgoing calls
no test coverage detected