method
calculate_tests
calculate_tests()
private
Hide source
# File railties/lib/rails/code_statistics.rb, line 67 def calculate_tests test_loc = 0 @statistics.each { |k, v| test_loc += v.code_lines if TEST_TYPES.include? k } test_loc end