class CodeStatistics
def calculate_tests
def calculate_tests test_loc = 0 @statistics.each { |k, v| test_loc += v['codelines'] if TEST_TYPES.include? k } test_loc end
def calculate_tests test_loc = 0 @statistics.each { |k, v| test_loc += v['codelines'] if TEST_TYPES.include? k } test_loc end