method
print_code_test_stats
print_code_test_stats()
private
Hide source
# File railties/lib/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