class SimpleCov::ExitCodes::MinimumCoverageByFileCheck
def compute_minimum_coverage_data
def compute_minimum_coverage_data minimum_coverage_by_file.flat_map do |criterion, expected_percent| result.coverage_statistics_by_file.fetch(criterion).map do |actual_coverage| { criterion: criterion, minimum_expected: expected_percent, actual: SimpleCov.round_coverage(actual_coverage.percent) } end end end