C0 code coverage information

Generated on Thu Jun 07 11:33:59 -0400 2007 with rcov 0.8.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
app/controllers/application.rb 30 24
56.7% 
45.8% 
 1 # Filters added to this controller will be run for all controllers in the application.
 2 # Likewise, all the methods added will be available for all controllers.
 3 class ApplicationController < ActionController::Base
 4 	include AuthenticatedSystem
 5 	include SslRequirement
 6 	# This will go away when Tournaments are ready
 7 	def config
 8 		return TaftConfig
 9 	end
10 	attr_writer :tournament
11 	before_filter do |c|
12 		#achtung! that (0) is a hack for testing purposes via localhost.
13 		#don't forget that it's dumb!
14 		c.tournament = Tournament.find_by_subdomain(c.request.subdomains.first)
15 	end
16 	private
17 	def plural(n,sing,plur)
18 		if n.to_f == 1
19 			sing
20 		else
21 			plur
22 		end
23 	end
24 
25 	def tournament_required
26 		if !@tournament
27 			redirect_to :controller => :main, :action => :index
28 		end
29 	end
30 end

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

Valid XHTML 1.0! Valid CSS!