private Method

CodeStatistics.calculate_tests

There's no documentation for this item.

Source Code

# File code_statistics.rb, line 65
def calculate_tests
  test_loc = 0
  @statistics.each { |k, v| test_loc += v['codelines'] if TEST_TYPES.include? k }
  test_loc
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.