C0 code coverage information

Generated on Sun Jun 11 23:15:16 CEST 2006 with rcov 0.6.0


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
lib/format.rb 19 8
100.0% 
100.0% 
 1 module Format
 2   
 3   EMAIL = /^[_a-z0-9\+\.\-]+\@[_a-z0-9\-]+\.[_a-z0-9\.\-]+$/i    
 4   PASSWORD = /^[\_a-zA-Z0-9\.\-]+$/
 5   
 6   
 7   # matches everything to the last \ or / in a string. 
 8   # can chop of path of a filename like this : '/tobi/home/tobi.jpg'.sub(/^.*[\\\/]/,'') => tobi.jpg
 9   FILENAME = /^.*[\\\/]/ 
10   
11   # good for replacing all special chars with something else, like an underscore
12   FILENORMAL = /[^a-zA-Z0-9.]/
13   
14   # Laxly matches an IP Address , would also pass numbers > 255 though
15   IP_ADDRESS = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/
16   
17   # Laxly matches an HTTP(S) URI
18   HTTP_URI = /^https?:\/\/\S+$/
19 end

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

Valid XHTML 1.0! Valid CSS!