method
print_code_test_stats
v3.1.0 -
Show latest stable
- Class:
CodeStatistics
print_code_test_stats()private
No documentation available.
# File railties/lib/rails/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