method
print_code_test_stats
v5.1.7 -
Show latest stable
- Class:
CodeStatistics
print_code_test_stats()private
No documentation available.
# File railties/lib/rails/code_statistics.rb, line 106
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