instance method
calculate_tests
Ruby on Rails 8.1.2
Since v8.0.4 PrivateAvailable in: v8.0.4 v8.1.2
Signature
calculate_tests()
No documentation comment.
Source
# File railties/lib/rails/code_statistics.rb, line 115
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 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::CodeStatistics