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