class CodeStatistics

def calculate_code

def calculate_code
  code_loc = 0
  @statistics.each { |k, v| code_loc += v.code_lines unless TEST_TYPES.include? k }
  code_loc
end