| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| app/models/period.rb | 6 | 6 | 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 class Period < ActiveRecord::Base |
2 validates_presence_of :hours |
3 validates_associated :submission_rule |
4 validates_numericality_of :hours, :greater_than_or_equal_to => 0 |
5 belongs_to :submission_rule, :polymorphic => true |
6 end |
Generated on Sun Feb 05 00:08:07 -0500 2012 with rcov 0.9.10