class RuboCop::Formatter::WorstOffendersFormatter

def report_summary(offense_counts)

rubocop:disable Metrics/AbcSize
def report_summary(offense_counts)
  per_file_counts = ordered_offense_counts(offense_counts)
  total_count = total_offense_count(offense_counts)
  file_count = per_file_counts.size
  output.puts
  column_width = total_count.to_s.length + 2
  per_file_counts.each do |file_name, count|
    output.puts "#{count.to_s.ljust(column_width)}#{file_name}\n"
  end
  output.puts '--'
  output.puts "#{total_count}  Total in #{file_count} files"
  output.puts
end