# File lib/kwala/actions/executable_files_check.rb, line 70
  def summary_display(context)
    template = TemplateFile.new(self.class.summary_template_file)

    res = {}
    if @problem_files.size > 0
      res[:problem_files] = { :files => @problem_files }
    end

    # get top 10
    top_ten_files = @sorted_shellbang_files_LOC[0..9]
    res[:files] = top_ten_files.map do |f, l|
      { :filename => f, :lines_of_code => l }
    end

    context.amrita_data[:executable_files_check_results] = res
    execfilecodesize_base = "#{context.project_name}_executable_files_check.html"
    context.amrita_data[:executable_files_check_details] =
      (Amrita::e(:a, :href => execfilecodesize_base) { "Executable Files Check Details" } )

    summary_expand(template, context)
  end