Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
---|---|---|---|---|
app/helpers/stories_helper.rb | 9 | 7 | 100.00%
|
100.00%
|
Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.
1 module StoriesHelper |
2 |
3 def points_label(stories) |
4 points = 0 |
5 stories.map { |s| points += s.points } |
6 "(#{points} points)" |
7 end |
8 |
9 end |
Generated on Tue Mar 30 15:13:35 +0100 2010 with rcov 0.9.2.1