method
calculate_tests
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
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