instance method
calculate_tests
Ruby on Rails edge
Since v8.0.5.1 Private — implementation detail, not part of the public APISignature
calculate_tests()
No documentation comment.
Source
# File railties/lib/rails/code_statistics.rb, line 126
def calculate_tests
test_loc = 0
@statistics.each { |k, v| test_loc += v.code_lines if test_types.include? k }
test_loc
end
Defined in railties/lib/rails/code_statistics.rb line 126
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::CodeStatistics