Changed how coverage stats are generated