method

calculate_code

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_code()
private

No documentation available.

# File railties/lib/rails/code_statistics.rb, line 106
      def calculate_code
        code_loc = 0
        @statistics.each { |k, v| code_loc += v.code_lines unless test_types.include? k }
        code_loc
      end