Jldrill Git C0 Coverage Information - RCov

lib/jldrill/views/gtk/widgets/ProgressBar.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/jldrill/views/gtk/widgets/ProgressBar.rb 23 18
52.17%
44.44%

Key

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.

Coverage Details

1 require 'Context/Gtk/Widget'
2 require 'gtk2'
3 
4 module JLDrill::Gtk
5     class ProgressBar < Gtk::HBox
6 		include Context::Gtk::Widget
7         
8         attr_reader :progress
9 		
10         def initialize(view)
11             super
12             @view = view
13             
14             @progress = Gtk::ProgressBar.new
15             self.add(Gtk::Label.new("Loading " + @view.filename + ":"))
16             self.add(@progress)
17         end
18         
19         def update(fraction)
20             @progress.fraction = fraction
21         end
22     end
23 end

Generated on Mon May 23 16:17:47 +0900 2011 with rcov 0.9.8