instance method print_code_test_stats

Ruby on Rails 8.1.2

Since v8.0.4 Private

Available in: v8.0.4 v8.1.2

Signature

print_code_test_stats()

No documentation comment.

Source
# File railties/lib/rails/code_statistics.rb, line 154
      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

Defined in railties/lib/rails/code_statistics.rb line 154 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::CodeStatistics

Type at least 2 characters to search.

↑↓ navigate · open · esc close