C0 code coverage information
Generated on Sun Jun 11 23:15:14 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.
1 class Ping < ActiveRecord::Base
Calls
1 #<Class:ActiveRecord::Base>#inherited at vendor/rails/activerecord/lib/active_record/base.rb:246
2 belongs_to :article
Calls
1 #<Class:ActiveRecord::Base>#belongs_to at (eval):4
3
4 def send_ping(origin_url)
Calls
1 #<Class:Object>#method_added at vendor/rails/actionpack/lib/action_view/vendor/builder/blankslate.rb:47
5 uri = URI.parse(self.url)
6 post = "title=#{URI.escape(article.title)}"
7 post << "&excerpt=#{URI.escape(strip_html(article.body_html)[0..254])}"
8 post << "&url=#{origin_url}"
9 post << "&blog_name=#{URI.escape(config[:blog_name])}"
10
11 Net::HTTP.start(uri.host, uri.port) do |http|
12 http.post("#{uri.path}?#{uri.query}", post)
13 end
14 end
15 end
Generated using the rcov code coverage analysis tool for Ruby version 0.6.0.