public static Severity getSeverityDescending(Number value, Number low, Number moderate, Number severe,
      Number critical) {
    if (value.doubleValue() <= critical.doubleValue()) {
      return CRITICAL;
    }
    if (value.doubleValue() <= severe.doubleValue()) {
      return SEVERE;
    }
    if (value.doubleValue() <= moderate.doubleValue()) {
      return MODERATE;
    }
    if (value.doubleValue() <= low.doubleValue()) {
      return LOW;
    }
    return NONE;
  }
Returns the severity level of the value in the given thresholds
low > moderate > severe > critical

Critical when value is less than the critical threshold
None when the value is greater than the low threshold.

@param value The value being tested
@return One of the 5 severity levels
app/com/linkedin/drelephant/analysis/Severity.java