| Name | Total Lines | Lines of Code | Total Coverage | Code Coverage |
|---|---|---|---|---|
| app/models/annotation_text.rb | 10 | 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 AnnotationText < ActiveRecord::Base |
2 |
3 belongs_to :annotation_category |
4 # An AnnotationText has many Annotations that are destroyed when an |
5 # AnnotationText is destroyed. |
6 has_many :annotations, :dependent => :destroy |
7 validates_associated :annotation_category, |
8 :message => 'annotation_category associations failed' |
9 |
10 end |
Generated on Tue Feb 07 00:07:35 -0500 2012 with rcov 0.9.10