MCPcopy
hub / github.com/openai/codex-plugin-cc / severityRank

Function severityRank

plugins/codex/scripts/lib/render.mjs:1–12  ·  view source on GitHub ↗
(severity)

Source from the content-addressed store, hash-verified

1function severityRank(severity) {
2 switch (severity) {
3 case "critical":
4 return 0;
5 case "high":
6 return 1;
7 case "medium":
8 return 2;
9 default:
10 return 3;
11 }
12}
13
14function formatLineRange(finding) {
15 if (!finding.line_start) {

Callers 1

renderReviewResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected