method
calculate_code
calculate_code()
private
Hide source
# File railties/lib/rails/code_statistics.rb, line 59 def calculate_code code_loc = 0 @statistics.each { |k, v| code_loc += v['codelines'] unless TEST_TYPES.include? k } code_loc end