# File lib/kwala/actions/unit_test.rb, line 194
  def time_violations(results)
    violations = []
    results_by_version(results).each do |version_name,results|
      version_violations = results.sort {|x,y| -(x[:time].to_f <=> y[:time].to_f)}
      violations << version_violations[0, @time_violations_limit]
    end

    violations.flatten.collect do |x|
      {:time => template_timing_error_num(x[:time]),
       :file_name => x[:file_name],
       :version_name => x[:version_name]}
    end
  end