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/allergy.rb 14 9
100.0%  
100.0%  
 1 class Allergy < ActiveRecord::Base
 2   has_many :patient_allergies, :dependent => :destroy
 3   has_many :patients, :through => :patient_allergies
 4   
 5   validates_presence_of :allergen
 6   
 7   validates_uniqueness_of :allergen, 
 8         :message => 'is already in our database. Please enter a unique allergen name.'
 9   
10   validates_length_of   :allergen, :maximum => 100, :allow_blank => true
11   validates_length_of   :allergy_remarks, :maximum => 10000, :allow_blank => true  
12   
13   
14 end

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

Valid XHTML 1.0! Valid CSS!