dot-calculate_severity_metrics function

Calculate severity metrics for an issue