method
calculate_tests
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: CodeStatistics
calculate_tests()
private
Hide source
# File railties/lib/rails/code_statistics.rb, line 71 def calculate_tests test_loc = 0 @statistics.each { |k, v| test_loc += v.code_lines if TEST_TYPES.include? k } test_loc end