Method: Xmvc::Stats::Statistics#print_summary

Defined in:
lib/xmvc/stats.rb

Prints a summary line with total LOC



80
81
82
83
84
85
86
# File 'lib/xmvc/stats.rb', line 80

def print_summary
  stats = [statistics[:total_code_loc], statistics[:total_spec_loc]]
  stats.push(stats[1].to_f / stats[0].to_f)

  puts "  Code LOC: %s     Test LOC: %s     Code to Test Ratio: 1:%1.1f" % stats
  puts
end