class Slather::Project

def coverage_files

def coverage_files
  coverage_files = Dir["#{build_directory}/**/*.gcno"].map do |file|
    coverage_file = coverage_file_class.new(self, file)
    # If there's no source file for this gcno, it probably belongs to another project.
    coverage_file.source_file_pathname && !coverage_file.ignored? ? coverage_file : nil
  end.compact
  if coverage_files.empty?
    raise StandardError, "No coverage files found. Are you sure your project is setup for generating coverage files? Try `slather setup your/project.pbxproj`"
  else
    dedupe(coverage_files)
  end
end