(check)
| 61 | } |
| 62 | |
| 63 | function computeCheckPenalty(check) { |
| 64 | const weight = SEVERITY_WEIGHT[check.severity] ?? 0; |
| 65 | const multiplier = STATUS_MULTIPLIER[check.status] ?? 0; |
| 66 | return weight * multiplier; |
| 67 | } |
| 68 | |
| 69 | function deriveCheckWhy(check) { |
| 70 | if (check.why) { |
no outgoing calls
no test coverage detected