private Method

CodeStatistics.print_code_test_stats

There's no documentation for this item.

Source Code

# File code_statistics.rb, line 100
def print_code_test_stats
  code  = calculate_code
  tests = calculate_tests

  puts "  Code LOC: #{code}     Test LOC: #{tests}     Code to Test Ratio: 1:#{sprintf("%.1f", tests.to_f/code)}"
  puts ""
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.