(percentage)
| 506 | ]; |
| 507 | |
| 508 | function getHeatLevel(percentage) { |
| 509 | for (const [threshold, level] of HEAT_THRESHOLDS) { |
| 510 | if (percentage >= threshold) return level; |
| 511 | } |
| 512 | return 1; |
| 513 | } |
| 514 | |
| 515 | function getHeatColors() { |
| 516 | const style = getComputedStyle(document.documentElement); |
no outgoing calls
no test coverage detected
searching dependent graphs…