module SimpleCov

def grouped(files)


Applies the configured groups to the given array of SimpleCov::SourceFile items
def grouped(files)
  grouped = {}
  grouped_files = []
  groups.each do |name, filter|
    grouped[name] = files.select {|source_file| !filter.passes?(source_file)}
    grouped_files += grouped[name]
  end
  if groups.length > 0 and (other_files = files.reject {|source_file| grouped_files.include?(source_file)}).length > 0
    grouped["Ungrouped"] = other_files
  end
  grouped
end