method

calculate_tests

rails latest stable - Class: Rails::CodeStatistics

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

calculate_tests()
private

No documentation available.

# File railties/lib/rails/code_statistics.rb, line 112
      def calculate_tests
        test_loc = 0
        @statistics.each { |k, v| test_loc += v.code_lines if test_types.include? k }
        test_loc
      end