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_medication.rb 16 13
100.0%  
100.0%  
 1 class PatientMedication < ActiveRecord::Base
 2   belongs_to :medication
 3   belongs_to :patient_condition
 4   
 5   validates_presence_of     :patient_condition
 6   validates_presence_of     :medication
 7   validates_presence_of     :start_date
 8   validates_presence_of     :dosage
 9   validates_presence_of     :frequency
10   
11   validates_date            :start_date, :allow_nil => true
12   validates_date            :end_date, :allow_nil => true
13   
14   validates_length_of   :frequency, :maximum => 50, :allow_blank => true
15   validates_length_of   :patient_medication_remarks, :maximum => 10000, :allow_blank => true  
16 end

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

Valid XHTML 1.0! Valid CSS!