method
calculate_tests
v3.1.0 -
Show latest stable
- Class:
CodeStatistics
calculate_tests()private
No documentation available.
# File railties/lib/rails/code_statistics.rb, line 65
def calculate_tests
test_loc = 0
@statistics.each { |k, v| test_loc += v['codelines'] if TEST_TYPES.include? k }
test_loc
end