Calculates toxicity based on checkstyle results