pub fn get_status_code() -> usize
Compute the status code from the report state (Perl getStatusCode). 3 = fatal, 2 = errors, 1 = warnings, 0 = clean.