method
calculate_code
v6.0.0 -
Show latest stable
- Class:
CodeStatistics
calculate_code()private
No documentation available.
# File railties/lib/rails/code_statistics.rb, line 63
def calculate_code
code_loc = 0
@statistics.each { |k, v| code_loc += v.code_lines unless TEST_TYPES.include? k }
code_loc
end