C0 code coverage information

Generated on Mon Dec 08 16:53:36 -0800 2008 with rcov 0.8.1.3


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.
Name Total lines Lines of code Total coverage Code coverage
app/models/patient_allergy.rb 16 12
100.0%  
100.0%  
 1 class PatientAllergy < ActiveRecord::Base
 2   belongs_to :patient
 3   belongs_to :allergy
 4   
 5   validates_presence_of :patient
 6   validates_presence_of :allergy
 7   validates_presence_of :allergy_date_recorded
 8   validates_presence_of :reaction
 9   
10   validates_length_of   :reaction, :maximum => 254, :allow_blank => true  
11   validates_length_of   :patient_allergy_remarks, 
12                         :maximum => 10000, :allow_blank => true  
13   
14   validates_date        :allergy_date_recorded, :allow_nil => true
15 end
16 

Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.3.

Valid XHTML 1.0! Valid CSS!